Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-16623

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

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: manual, Server
    • Labels:

      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:
            3 Start watching this issue

              Created:
              Updated:
              13 weeks, 2 days ago