mingo
Version:
MongoDB query language for in-memory objects
8 lines (7 loc) • 400 B
TypeScript
import { Options } from "../../core";
import { Any, AnyObject, WindowOperatorInput } from "../../types";
/**
* Returns the value from an expression applied to a document in a specified
* position relative to the current document in the $setWindowFields stage partition.
*/
export declare const $shift: (obj: AnyObject, collection: AnyObject[], expr: WindowOperatorInput, options: Options) => Any;