mingo
Version:
MongoDB query language for in-memory objects
5 lines (4 loc) • 311 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 $rank: (obj: AnyObject, collection: AnyObject[], expr: WindowOperatorInput, options: Options) => Any;