[DRIVERS-2027] Add 'let' option to ReplaceOptions Created: 11/Jan/22  Updated: 22/Feb/23  Resolved: 22/Feb/23

Status: Closed
Project: Drivers
Component/s: CRUD
Fix Version/s: None

Type: Spec Change Priority: Unknown
Reporter: Kevin Albertson Assignee: Dmitry Rybakov
Resolution: Done Votes: 0
Labels: size-small, spec-change
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split to PHPC-2005 Support 'let' option for multiple CRU... Closed
split to PHPLIB-748 Support 'let' option for multiple CRU... Closed
split to PYTHON-3061 Add 'let' option to ReplaceOptions Closed
split to RUST-1145 Add 'let' option to ReplaceOptions Closed
split to CDRIVER-4198 Support 'let' option for multiple CRU... Closed
split to GODRIVER-2272 Add 'let' option to ReplaceOptions Closed
split to CSHARP-4013 Add 'let' option to ReplaceOptions Closed
split to CXX-2428 Add 'let' option to ReplaceOptions Closed
split to JAVA-4442 Add 'let' option to ReplaceOptions Closed
split to MOTOR-869 Add 'let' option to ReplaceOptions Closed
split to NODE-3866 Add 'let' option to ReplaceOptions Closed
split to RUBY-2876 Add 'let' option to ReplaceOptions Closed
Related
related to DRIVERS-2183 Support 'let' option in BulkWriteOptions Implementing
Driver Changes: Needed
Quarter: FY22Q4
Downstream Changes Summary:

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

Driver Compliance:
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

 Description   

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.



 Comments   
Comment by Githook User [ 14/Jan/22 ]

Author:

{'name': 'Dmitry Rybakov', 'email': 'dmitry.rybakov@mongodb.com', 'username': 'comandeo'}

Message: DRIVERS-2027 Add 'let' option to ReplaceOptions (#1118)
Branch: master
https://github.com/mongodb/specifications/commit/1823a4e95dc9e6509734c959b2e933b9a773f9e5

Generated at Thu Feb 08 08:24:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.