-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
The following options for MongoDB\Driver\Query::__construct() are deprecated and can be removed:
- partial is a deprecated alias for allowPartialResults
- maxScan was deprecated in server 4.0 (
SERVER-32953) and removed in 4.2 (SERVER-35044) - modifiers is used for legacy query modifiers, which are all deprecated.
- oplogReplay has been deprecated since PHPC 1.8 (
PHPC-1525). It is deprecated in the CRUD spec and ignored by server 4.4+ (SERVER-36186) - snapshot was deprecated in server 3.6 (
SERVER-32173) and removed in 4.0 (SERVER-32174) - Negative limit implying singleBatch: true
- depends on
-
PHPC-2464 Emit deprecation notice for negative "limit" Query option
- Closed
- related to
-
PHPC-2453 Emit deprecation notice for "modifiers" Query option
- Closed
-
PHPC-2441 Remove deprecated Manager constructor options
- Closed
-
PHPLIB-1511 Remove deprecated Find options
- Closed