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.
- depends on
-
CDRIVER-2265 Overly validating documents in bulk inserts
- Closed
- related to
-
CDRIVER-3054 Remove "superseded" docs from mongoc_collection_(remove|insert|update)
- Closed