mingo
Version:
MongoDB query language for in-memory objects
5 lines (4 loc) • 324 B
TypeScript
import { Options } from "../../core";
import { Any, AnyObject, WindowOperatorInput } from "../../types";
/** Returns the position of a document in the $setWindowFields stage partition. */
export declare const $documentNumber: (_obj: AnyObject, _collection: AnyObject[], expr: WindowOperatorInput, _options: Options) => Any;