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

Deprecate mongoc_collection_update

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 1.9.0
    • None
    • libmongoc
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: