mingo
Version:
MongoDB query language for in-memory objects
10 lines (9 loc) • 346 B
TypeScript
import { ExpressionOperator } from "../../../types";
/**
* Adds, updates, or removes a specified field in a document.
*
* @param {*} obj The target object for this expression
* @param {*} expr The right-hand side of the operator
* @param {Options} options Options to use for operation
*/
export declare const $setField: ExpressionOperator;