UNPKG

mingo

Version:

MongoDB query language for in-memory objects

9 lines (8 loc) 364 B
import { Iterator } from "../../lazy"; import { Options } from "../../types"; /** * Returns a count of the number of documents at this stage of the aggregation pipeline. * * See {@link https://www.mongodb.com/docs/manual/reference/operator/aggregation/count usage}. */ export declare function $count(coll: Iterator, expr: string, _options: Options): Iterator;