Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2304

Deprecate mongoc_collection_update

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.9.0
    • Affects Version/s: None
    • Component/s: libmongoc
    • Labels:
      None

      mongoc_collection_update does not take a bson_t for options, but instead appends options to the command based on options from the flags argument (for multi, and upsert).

      Unfortunately there is no way to pass "collation" or "arrayFilters" to this function. We should deprecate use of this function after creating new functions mongoc_collection_update_one_with_opts and mongoc_collection_update_many_with_opts.

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

              Created:
              Updated:
              Resolved: