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

Support updating more than one array with the positional operator ($)

      Currently the positional operator only works on a single array match. If the query matches more than one array, the positional operator ($) does not differentiate between the arrays and only replaces the positional operator with a single value for all updates.

      This is not the nested arrays case but simply more than one array at the same level for example.

        1. query_order.js
          3 kB
        2. query_order.py
          3 kB

            Assignee:
            Unassigned Unassigned
            Reporter:
            ross@mongodb.com Ross Lawley
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: