UNPKG

mingo

Version:

MongoDB query language for in-memory objects

8 lines (7 loc) 338 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: (expr: Record<string, CurrentDateType>, arrayFilters?: AnyObject[], options?: Options) => (obj: AnyObject) => string[]; export {};