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

Inconsistent API for operation level write concern

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.2.0-rc0
    • Component/s: API
    • Labels:
      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

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: