UNPKG

mingo

Version:

MongoDB query language for in-memory objects

5 lines (4 loc) 290 B
import { UpdateOptions } from "../../core"; import { Any, AnyObject } from "../../types"; /** Replaces the value of a field with the specified value. */ export declare const $set: (obj: AnyObject, expr: Record<string, Any>, arrayFilters?: AnyObject[], options?: UpdateOptions) => string[];