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

Coalesce adjacent exclusion $project stages and non-overlapping $addFields stages

    • Query
    • Fully Compatible

      We can replace

      [ {$project:{a:0}}, {$project:{b:0}}, {$project:{c:0}}]
      

      with

      [ {$project:{a:0, b:0, c:0}} ]
      

      which will be faster.

            Assignee:
            backlog-server-query Backlog - Query Team (Inactive)
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: