[CXX-1536] Use libmongoc "with_opts" bulk operation functions Created: 25/Mar/18  Updated: 28/Oct/23  Resolved: 22/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: A. Jesse Jiryu Davis
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Simplify Bulk API

 Description   

Use mongoc_bulk_operation_insert_with_opts instead of the older mongoc_bulk_operation_insert, and the same for the other bulk operation CRUD functions. The new functions return errors immediately if something is wrong; e.g., if the mongoc_bulk_operation_t was created with the wrong sessionId in "opts".



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

Author:

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

Message: CXX-1536 use mongoc_bulk_operation_insert_with_opts

Also test errors returned from libmongoc bulk functions.
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/2ce28184303078bd7ef6a64f91e986623e9fcd7e

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