-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Implementation
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".