[CXX-1557] Deprecate collection::bulk_write(bulk_write&), add bulk_write::execute() Created: 17/Apr/18  Updated: 28/Oct/23  Resolved: 14/May/18

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

Type: New Feature Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: Kevin Albertson
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 CXX-1558 Remove collection::bulk_write(bulk_wr... Closed
Epic Link: Simplify Bulk API
Backwards Compatibility: Minor Change

 Description   

The execute() method will take no write concern. Instead, the write concern is set on options::bulk_write and passed to collection::create_bulk_write. It's deliberately inconsistent with the CRUD API Spec but more consistent with the rest of the C++ API.

The C++ Driver has an established deprecation process, look to other deprecated methods for how this works.



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

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@10gen.com', 'username': 'kevinAlbs'}

Message: CXX-1557 depr collection::bulk_write, add execute
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/951de72a1019add1be915decc7b1ffcd5c94ac53

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