UNPKG

mingo

Version:

MongoDB query language for in-memory objects

8 lines (7 loc) 395 B
import { Any, AnyObject, Options } from "../../types"; import { WindowOperatorInput } from "./_internal"; /** * 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, coll: AnyObject[], expr: WindowOperatorInput, options: Options) => Any;