mingo
Version:
MongoDB query language for in-memory objects
11 lines (10 loc) • 330 B
TypeScript
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;