mingo
Version:
MongoDB query language for in-memory objects
5 lines (4 loc) • 342 B
TypeScript
import { UpdateOptions } from "../../core";
import { RawObject } 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: RawObject, expr: RawObject, arrayFilters?: RawObject[], options?: UpdateOptions) => string[];