PHPC tests on legacy bulkwrite have a test that the option "sort" is not used when "multi" is true.
https://github.com/mongodb/mongo-php-driver/blob/v2.x/tests/bulk/bulkwrite-update_error-009.phpt
To prevent such programmer error, we can reject the usage of the option "sort" in methods "updateMany" and "deleteMany" of ClientBulkWrite.
- depends on
-
PHPC-2478 Implement API for bulkWrite command
-
- In Code Review
-