method Collection.prototype.aggregateimport { Collection } from "https://deno.land/x/mongo@v0.31.0/mod.ts"; aggregate<U = T>(pipeline: AggregatePipeline<U>[], options?: AggregateOptions): AggregateCursor<U>Type ParametersoptionalU = TParameterspipeline: AggregatePipeline<U>[]optionaloptions: AggregateOptionsReturnsAggregateCursor<U>