-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: libmongoc
Something else I noticed while implementing CDRIVER-3400 is that _mongoc_collection_update_or_replace's error reporting for specifying arrayFilters when unsupported by the selected server appears to be redundant in light of existing logic in _mongoc_write_command_execute_idl (which is used for collation). That code dates back to c4af4aa for CDRIVER-2664.
We should see if setting the mongoc_write_command_t.flags.has_array_filters in _mongoc_collection_update_or_replace would allow us to delete the error reporting code in that function.
- is related to
-
CDRIVER-2664 Raise client error if arrayFilters option is used when unsupported
- Closed
-
CDRIVER-3400 support ability to pass hint to update
- Closed