[CXX-1478] Support ReplaceOptions in CRUD API Created: 29/Nov/17  Updated: 28/Oct/23  Resolved: 28/Sep/18

Status: Closed
Project: C++ Driver
Component/s: API
Affects Version/s: None
Fix Version/s: 3.4.0

Type: New Feature Priority: Major - P3
Reporter: Rathi Gnanasekaran Assignee: A. Jesse Jiryu Davis
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-416 Support ReplaceOptions in CRUD API Closed
Problem/Incident
causes CXX-1637 Delete deprecated collection::replace... Closed

 Comments   
Comment by Githook User [ 28/Sep/18 ]

Author:

{'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}

Message: CXX-1478 Fix enable_if usage in replace_one
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/3b505462ad2e240e91461ad6f0d06de5c054a60c

Comment by Githook User [ 05/Sep/18 ]

Author:

{'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}

Message: CXX-1478 Use options::replace for replace_one()
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/dd71bdcd6743999be67c5baa576bdefc2ba242a1

Comment by A. Jesse Jiryu Davis [ 30/May/18 ]

collection::replace_one takes an options::update now. Deprecate that and add an overload that takes a new options::replace class.

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