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

Inconsistent API for operation level write concern

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.2.0-rc0
    • None
    • API
    • None

    Description

      Some operations, like Insert_one, allow write_concern in an options object. Others, like find_one_and_delete, do not and only take the value from the collection level default.

      This may have been due to mongoc limitations, but with the addition of the xxx_xxx_with_opts functions, we have more API choices now.

      For consistency, we should add write_concern to all write operation options classes.

      Attachments

        Activity

          People

            patrick.freed@mongodb.com Patrick Freed
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: