Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1557

Deprecate collection::bulk_write(bulk_write&), add bulk_write::execute()

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Minor Change

      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.

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: