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

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.11
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: