method MongoRepository.prototype.aggregateRe-exportimport { MongoRepository } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.ts"; aggregate<R = any>(pipeline: ObjectLiteral[], options?: CollectionAggregationOptions): AggregationCursor<R>Execute an aggregation framework pipeline against the collection. Type ParametersoptionalR = anyParameterspipeline: ObjectLiteral[]optionaloptions: CollectionAggregationOptionsReturnsAggregationCursor<R>