UNPKG

mingo

Version:

MongoDB query language for in-memory objects

9 lines (8 loc) 401 B
import { Iterator } from "../../lazy"; import { AnyObject, Options } from "../../types"; /** * Filters the document stream to allow only matching documents to pass unmodified into the next pipeline stage. * * See {@link https://www.mongodb.com/docs/manual/reference/operator/aggregation/match usage}. */ export declare function $match(coll: Iterator, expr: AnyObject, options: Options): Iterator;