-
Type:
Task
-
Resolution: Fixed
-
Priority:
Unknown
-
Affects Version/s: None
-
Component/s: None
For historical reasons, execute methods accepted WriteConcern or ReadPreference objects before the options array was introduced in PHPC-1042 (ext-mongodb 1.4.0).
That API has been deprecated in documentation for some time and should be removed for 2.0. I don't not think this warrants a 1.final ticket to emit a deprecation notice, but we can certainly consider that.
- causes
-
PHPLIB-1619 Do not pass ReadPreference directly to executeCommand in tests
-
- Closed
-
- depends on
-
PHPC-2489 Deprecate passing WriteConcern and ReadPreference objects directly to execute methods
-
- Closed
-
- is related to
-
PHPC-1042 Support options array for BulkWrite, Command, and Query execute methods
-
- Closed
-