[CSHARP-3928] Support 'let' option for multiple CRUD commands Created: 20/Oct/21  Updated: 28/Oct/23  Resolved: 13/Jan/22

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.15.0

Type: Spec Change Priority: Unknown
Reporter: PM Bot Assignee: Dmitry Lukyanov (Inactive)
Resolution: Fixed Votes: 0
Labels: size-small
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by CSHARP-4013 Add 'let' option to ReplaceOptions Closed
Issue split
Server Compat: 4.7
Quarter: FY22Q4
Upstream Changes Summary:

DRIVERS-1788:
Drivers should add a new let option to find, findAndModify, update, and delete helper methods and sync CRUD unified spec tests with mongodb/specifications@1519da9.

For MongoDB 5.0+, the mentioned CRUD commands accept a let option of type object. This object consists of any amount of parameter names each followed by definitions of constants in the MQL Aggregate Expression language. Each parameter name is then usable to access the value of the corresponding MQL Expression with the "$$" syntax.

This ticket is a follow-up for DRIVERS-776


 Description   

This ticket was split from DRIVERS-1788, please see that ticket for a detailed description.



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

Author:

{'name': 'Dmitry Lukyanov', 'email': 'dmitry.lukyanov@mongodb.com', 'username': 'DmitryLukyanov'}

Message: CSHARP-3928: Support 'let' option for multiple CRUD commands. (#718)

CSHARP-3928: Support 'let' option for multiple CRUD commands.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/149b2e7ea366d8d15cb8e8a7683f0eaf63f87770

Generated at Wed Feb 07 21:46:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.