Facet constructor
Facet(
- Map<
String, List< pipelinesAggregationStage> >
Creates $facet
aggregation stage
Implementation
Facet(Map<String, List<AggregationStage>> pipelines)
: super(
'facet',
AEObject(pipelines
.map((field, stages) => MapEntry(field, AEList(stages)))));