-
Type: New Feature
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
Query 2019-08-12
Currently, we can compute a count of the documents using the following aggregation pipelines:
However, with this pipeline, we won't be able to get all the matched documents. It would be nice if we can get both the matched documents and the count of the matched documents in one aggregation command.
- duplicates
-
SERVER-23654 Add $facet aggregation stage
- Closed
- is related to
-
SERVER-12927 Support ROLLUP function in the $group aggregation operator
- Backlog