Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-2036

Allow passing hint to update_one/_many, find_one_and_update/_replace operations

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.11
    • Affects Version/s: None
    • Component/s: None

      See DRIVERS-681, DRIVERS-751, and DRIVERS-790 for details.

      We need to allow passing hint to update_one, update_many, replace_one, find_one_and_update, find_one_and_replace, UpdateOne, UpdateMany, ReplaceOne operations.

      We also need to raise an error if the user adds a hint with an unacknowledged write concern on an update command with server < 4.2.

            Assignee:
            prashant.mital Prashant Mital (Inactive)
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: