UNPKG

mingo

Version:

MongoDB query language for in-memory objects

8 lines (7 loc) 334 B
import { AnyObject, Options } from "../../types"; type CurrentDateType = true | { $type: "date" | "timestamp"; }; /** Sets the value of a field to the current date. */ export declare const $currentDate: (obj: AnyObject, expr: Record<string, CurrentDateType>, arrayFilters?: AnyObject[], options?: Options) => string[]; export {};