mingo
Version:
MongoDB query language for in-memory objects
5 lines (4 loc) • 342 B
TypeScript
import { UpdateOptions } from "../../core";
import { AnyObject } from "../../types";
/** Updates the value of the field to a specified value if the specified value is greater than the current value of the field. */
export declare const $max: (obj: AnyObject, expr: AnyObject, arrayFilters?: AnyObject[], options?: UpdateOptions) => string[];