Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
Fully Compatible
-
Query 2017-04-17, Query 2017-05-08, Query 2017-05-29
Description
Once SERVER-12015 is fixed, the cursor stage will have the ability to handle a simple inclusion projection itself. If the cursor source has a projection, and there is a $project stage in the pipeline with the same specification, we should be able to remove it.
Note this might get messy/complicated in terms of nested projection objects, particularly when including sub-fields of _id.