[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: |
|
||||||||
| 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: |