UNPKG

mingo

Version:

MongoDB query language for in-memory objects

14 lines (13 loc) 493 B
import { Iterator } from "../../lazy"; import { AnyObject, Options } from "../../types"; interface InputExpr { readonly coll: string | AnyObject[]; readonly pipeline?: AnyObject[]; } /** * Combines two aggregations into a single result set. * * See {@link https://www.mongodb.com/docs/manual/reference/operator/aggregation/unionWith usage}. */ export declare function $unionWith(collection: Iterator, expr: InputExpr | string | AnyObject[], options: Options): Iterator; export {};