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

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

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0-rc0
    • Component/s: None
    • Labels:
      None

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: