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