Skip to main content
Module

x/mongo/mod.ts>Collection#aggregate

MongoDB driver for Deno
Extremely Popular
Go to Latest
method Collection.prototype.aggregate
import { Collection } from "https://deno.land/x/mongo@v0.31.1/mod.ts";

Type Parameters

optional
U = T

Parameters

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

Returns

AggregateCursor<U>