the subpipelines to run
the subpipelines to run
Processes multiple aggregation pipelines within a single stage on the same set of input documents.
Each sub-pipeline has its own field in the output document where its results are stored as an array of documents.
the subpipelines to run
https://docs.mongodb.com/manual/reference/operator/aggregation/facet/