Support returning both the matched documents and the count of matched documents in the aggregation framework

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • Query 2019-08-12
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Charlie Swanson
              Reporter:
              Linda Qin
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: