Skip to main content
Module

x/typeorm/src/index.ts>MongoRepository#aggregate

Forked from https://github.com/typeorm/typeorm
Latest
method MongoRepository.prototype.aggregate
Re-export
import { MongoRepository } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.ts";

Execute an aggregation framework pipeline against the collection.

Type Parameters

optional
R = any

Parameters

pipeline: ObjectLiteral[]
optional
options: CollectionAggregationOptions

Returns

AggregationCursor<R>