$limit should push down into the PlanStage layer, rather than coalescing with DocumentSourceCursor

XMLWordPrintableJSON

    • Fully Compatible
    • Query 2019-06-03, Query 2019-10-07, Query 2019-10-21
    • 136
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      DocumentSourceCursor will absorb a $limit stage and manually apply the limit as it is batching documents. However, we should consider instead pushing this limit to the query system similar to what we do for $match, $sort, etc..

              Assignee:
              David Storch
              Reporter:
              Nicholas Zolnierz
              Votes:
              3 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: