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