Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-7615

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

    • Type: Icon: Investigation Investigation
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Developer Tools

      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: