Quoting the CRUD spec on arrayFilters:
This option is sent only if the caller explicitly provides a value. The default is to not send a value. For servers < 3.6, the driver MUST raise an error if the caller explicitly provides a value. For unacknowledged writes using opcodes, the driver MUST raise an error if the caller explicitly provides a value.
It doesn't appear that libmongoc checks the wire version when arrayFilters is used. This may need treatment similar to what is done for collation, which is tracked when used for any individual write or one or more operations within command executed as part of a bulk write.
- is depended on by
-
PHPC-1196 Raise client error if arrayFilters option is used when unsupported
- Closed
- is related to
-
CDRIVER-2661 mongoc_bulk_update functions reject arrayFilters option
- Closed
-
CDRIVER-2205 Array Update Improvements
- Closed
- related to
-
CDRIVER-2992 Bulk write arrayFilters option should append as array type
- Closed
-
CDRIVER-3477 _mongoc_bulk_operation_update_append does not update has_array_filters for subsequent update operations
- Closed
-
CDRIVER-3478 Rely on _mongoc_write_command_execute_idl to report client-side error for unsupported arrayFilters option
- Backlog