mingo
Version:
MongoDB query language for in-memory objects
8 lines (7 loc) • 366 B
TypeScript
import { AnyObject } from "../../types";
type CurrentDateType = true | {
$type: "date" | "timestamp";
};
/** Sets the value of a field to the current date. */
export declare function $currentDate(expr: Record<string, CurrentDateType>, arrayFilters?: AnyObject[], options?: import("../../core/_internal").ComputeOptions): (obj: AnyObject) => string[];
export {};