Create aggregation passthrough that wraps each pipeline within a $facet stage

XMLWordPrintableJSON

    • Fully Compatible
    • Query 2016-08-29, Query 2016-09-19
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Any pipeline originalPipeline is logically equivalent to running the following pipeline:

      [{$facet: {results: <originalPipeline>}}, {$unwind: '$results'}, {$replaceRoot: {newRoot: '$results'}}]
      

      We should add a passthrough suite which does this transformation to each pipeline to increase test coverage of the $facet stage.

            Assignee:
            Charlie Swanson
            Reporter:
            Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: