Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-2002

Allow update to supply sort option

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.0
    • Affects Version/s: None
    • Component/s: CRUD
    • Hide

      DRIVERS-2822:
      Summary of necessary driver changes

      • Add a sort option to updateOne() so if it matches more than one candidate document the first one matched by the sort order will be updated.
      • The upstream server changes are at https://jira.mongodb.org/browse/SERVER-78140.

      Commits for syncing spec/prose tests
      (and/or refer to an existing language POC if needed)

      Context for other referenced/linked tickets

      •  
      Show
      DRIVERS-2822: Summary of necessary driver changes Add a sort option to  updateOne()  so if it matches more than one candidate document the first one matched by the sort order will be updated. The upstream server changes are at  https://jira.mongodb.org/browse/SERVER-78140 . Commits for syncing spec/prose tests (and/or refer to an existing language POC if needed)   https://github.com/mongodb/specifications/pull/1644 Context for other referenced/linked tickets  
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      This ticket was split from DRIVERS-2822, please see that ticket for a detailed description.

            Assignee:
            abraham.egnor@mongodb.com Abraham Egnor
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: