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