aggregationPipeline method
Use the Aggregation Pipeline
to use a mongodb query format
@link to read more about Aggregation Pipeline: {https://www.mongodb.com/docs/manual/reference/operator/aggregation-pipeline/?utm_source=compass&utm_medium=product#aggregation-pipeline-stages}
Implementation
BagelDBRequest aggregationPipeline(
List<Map<String, dynamic>> mongoAggPipeline) {
this._aggPipeline = json.encode(mongoAggPipeline);
return this;
}