Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-3465

Investigate changes in SERVER-78140: allow update to supply sort option

    • Type: Icon: Investigation Investigation
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Tools and Replicator

      Original Downstream Change Summary

      Update command syntax is extended to allow a sort option to be supplied.

      Description of Linked Ticket

      Unlike findAndModify, updateOne does not accept sort so in cases on match on more than one candidate document there is no way to control which will be updated.

      This is request to add such a option.

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: