aggregate static method

dynamic aggregate({
  1. required String collectionName,
  2. required String databaseName,
  3. required List<String> pipeline,
})

Implementation

static aggregate(
    {required String collectionName,
    required String databaseName,
    required List<String> pipeline}) async {
  return await FlutterMongoStitchPlatform.instance.aggregate(
    collectionName: collectionName,
    databaseName: databaseName,
    pipeline: pipeline,
  );
}