UNPKG

@wxn0brp/db

Version:

A simple file-based database management system with support for CRUD operations, custom queries, and graph structures.

8 lines (7 loc) 319 B
import { UpdaterArg } from "../types/updater.js"; /** * Updates an object with new values. * @param obj - The object to update. * @param fields - An object containing new values to update in the target object. */ export default function updateObjectAdvanced(obj: Object, fields: UpdaterArg | UpdaterArg[]): Object;