mingo
Version:
MongoDB query language for in-memory objects
10 lines (9 loc) • 312 B
TypeScript
import { AccumulatorOperator } from "../../types";
/**
* Returns the number of documents in the group or window.
*
* @param {Array} collection The input array
* @param {AnyObject} expr The right-hand side expression value of the operator
* @returns {*}
*/
export declare const $count: AccumulatorOperator;