UNPKG

mingo

Version:

MongoDB query language for in-memory objects

9 lines (8 loc) 386 B
import { Iterator } from "../../lazy"; import { AnyObject, Options } from "../../types"; /** * Restricts the contents of the documents based on information stored in the documents themselves. * * See {@link https://docs.mongodb.com/manual/reference/operator/aggregation/redact/ usage} */ export declare function $redact(coll: Iterator, expr: AnyObject, options: Options): Iterator;