[CXX-1565] Use mongoc_collection_find_and_modify_with_opts Created: 23/Apr/18  Updated: 28/Oct/23  Resolved: 21/May/18

Status: Closed
Project: C++ Driver
Component/s: Implementation
Affects Version/s: None
Fix Version/s: 3.3.0-rc0

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


 Description   

The C++ Driver uses mongoc_collection_write_command_with_opts to send the "findAndModify" command. This is fine, but it's more expected (and therefore less prone to future bugs when the drivers' expectations diverge) to use the C Driver's dedicated helper method.



 Comments   
Comment by Githook User [ 21/May/18 ]

Author:

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

Message: CXX-1565 Use mongoc_collection_find_and_modify_with_opts
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/ac36a5a664d97b6c83b23ac0b88fdff4685a6f49

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