UNPKG

mingo

Version:

MongoDB query language for in-memory objects

11 lines (10 loc) 330 B
import { PipelineOperator } from "../../core"; /** * Randomly selects the specified number of documents from its input. The given iterator must have finite values * * @param {Iterator} collection * @param {Object} expr * @param {Options} options * @return {*} */ export declare const $setWindowFields: PipelineOperator;