Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-681

Allow passing hint to findAndModify update and replace operations

    • Type: Icon: Epic Epic
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: None
    • Labels:
      None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      NODE-2290 Fixed 3.6.0
      MOTOR-455 Fixed 2.2
      PYTHON-2036 Fixed 3.11
      JAVA-3498 Fixed 4.1.0
      GODRIVER-1397 Fixed 1.4.0
      CXX-1874 Fixed 3.6.0-rc0, 3.6.0
      CSHARP-2840 Fixed 2.11.0
      RUBY-2001 Fixed 2.13.0.beta1
      CDRIVER-3425 Fixed 1.17.0-beta, 1.17.0
      PHPLIB-497 Fixed 1.7.0-beta1, 1.7.0
      RUST-362 Fixed 1.1.0
      SWIFT-788 Fixed 1.2.0
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion NODE-2290 Fixed 3.6.0 MOTOR-455 Fixed 2.2 PYTHON-2036 Fixed 3.11 JAVA-3498 Fixed 4.1.0 GODRIVER-1397 Fixed 1.4.0 CXX-1874 Fixed 3.6.0-rc0, 3.6.0 CSHARP-2840 Fixed 2.11.0 RUBY-2001 Fixed 2.13.0.beta1 CDRIVER-3425 Fixed 1.17.0-beta, 1.17.0 PHPLIB-497 Fixed 1.7.0-beta1, 1.7.0 RUST-362 Fixed 1.1.0 SWIFT-788 Fixed 1.2.0

      Epic Summary

      Summary

      MongoDB 4.4 will allow a hint option to be specified for update/replace operations using the findAndModify command. Note that delete operations may end up being supported in MongoDB 4.4 (support was not added alongside update/replace ops), but that will be addressed by a separate ticket if so
      New CRUD tests are in: https://github.com/mongodb/specifications/commit/0f803725487cc951877f6975061dd1e24056a045.

      .

            Assignee:
            Unassigned Unassigned
            Reporter:
            craig.homa@mongodb.com Craig Homa
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: