Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-12376

$skip and $limit should be moved before $project

    XMLWordPrintable

Details

    • Fully Compatible
    • ALL

    Description

      While this is performance-neutral on its own, it enables other optimizations such as combining sort and limit. This should probably be done right before Optimizations::Local::moveLimitBeforeSkip.

      Attachments

        Issue Links

          Activity

            People

              james.cohan James Cohan
              mathias@mongodb.com Mathias Stearn
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: