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

Add 'let' option to ReplaceOptions

    • Needed
    • Hide

      Drivers should add a new let option to replaceOne helper method and add corresponding CRUD unified spec test fromĀ mongodb/specifications@1823ae4.

      Show
      Drivers should add a new let option to replaceOne helper method and add corresponding CRUD unified spec test fromĀ  mongodb/specifications@1823ae4 .
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CXX-2428 Fixed 3.7.0
      CSHARP-4013 Duplicate
      GODRIVER-2272 Works as Designed 1.9.0
      JAVA-4442 Duplicate
      NODE-3866 Fixed 4.4.1
      PYTHON-3061 Fixed 4.1
      MOTOR-869 Duplicate
      RUBY-2876 Fixed 2.18.0
      RUST-1145 Fixed 2.3.0
      SWIFT-1450 Won't Do
      PHPC-2005 Fixed 1.14.0-beta1, 1.14.0
      PHPLIB-748 Fixed 1.13.0-beta1, 1.13.0
      CDRIVER-4198 Fixed 1.22.0, 1.22.0-beta0
      $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 CXX-2428 Fixed 3.7.0 CSHARP-4013 Duplicate GODRIVER-2272 Works as Designed 1.9.0 JAVA-4442 Duplicate NODE-3866 Fixed 4.4.1 PYTHON-3061 Fixed 4.1 MOTOR-869 Duplicate RUBY-2876 Fixed 2.18.0 RUST-1145 Fixed 2.3.0 SWIFT-1450 Won't Do PHPC-2005 Fixed 1.14.0-beta1, 1.14.0 PHPLIB-748 Fixed 1.13.0-beta1, 1.13.0 CDRIVER-4198 Fixed 1.22.0, 1.22.0-beta0

      Summary

      DRIVERS-1788 missed adding the let option to ReplaceOptions. While constants cannot be referenced in the replacement document, they can be used in the query filter.

      Motivation

      Is this issue urgent?

      Yes. It should be done in tandem with DRIVERS-1788.

      Is this ticket required by a downstream team?

      Possibly, if something like the new Mongo shell depends on driver support for this option.

      Is this ticket only for tests?

      No.

            Assignee:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: