UNPKG

mingo

Version:

MongoDB query language for in-memory objects

11 lines (10 loc) 324 B
import { Any, AnyObject, Options } from "../../../types"; interface InputExpr { readonly field: string; readonly input?: AnyObject; } /** * Adds, updates, or removes a specified field in a document. */ export declare const $getField: (obj: AnyObject, expr: InputExpr | string, options: Options) => Any; export {};