[GODRIVER-2198] Support 'let' option for multiple CRUD commands Created: 20/Oct/21  Updated: 13/Apr/22  Resolved: 13/Jan/22

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.9.0

Type: Improvement Priority: Major - P3
Reporter: PM Bot Assignee: Benji Rewis (Inactive)
Resolution: Done Votes: 0
Labels: size-small
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
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

Documentation Changes: Not Needed

 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': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}

Message: GODRIVER-2198 GODRIVER-2272 Support 'let' option for multiple CRUD commands (#835)

Comment by Benji Rewis (Inactive) [ 10/Jan/22 ]

https://github.com/mongodb/mongo-go-driver/pull/835

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