Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
method Collection.prototype.aggregate
import { Collection } from "https://deno.land/x/model@v1.2/dependencies/mongo.ts";

Type Parameters

optional
U = T

Parameters

pipeline: AggregatePipeline<U>[]
optional
options: AggregateOptions

Returns

AggregateCursor<U>