UNPKG

mingo

Version:

MongoDB query language for in-memory objects

10 lines (9 loc) 332 B
import { ExpressionOperator } from "../../../types"; /** * Randomly select documents at a given rate. * * @param {*} obj The target object for this expression * @param {*} expr The right-hand side of the operator * @param {Options} options Options to use for operation */ export declare const $sampleRate: ExpressionOperator;