We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0b571a commit 3db8799Copy full SHA for 3db8799
UPGRADE-2.0.md
@@ -9,3 +9,7 @@ UPGRADE FROM 1.x to 2.0
9
* The constants `MongoDB\Driver\ClientEncryption::ALGORITHM_RANGE_PREVIEW` and
10
`MongoDB\Driver\ClientEncryption::QUERY_TYPE_RANGE_PREVIEW` have been
11
removed. Use the `ALGORITHM_RANGE` and `QUERY_TYPE_RANGE` instead.
12
+ * The `MongoDB\Driver\ReadPreference` class now requires a string value for its
13
+ constructor's `$mode` parameter. The integer constants for modes have been
14
+ removed along with the `getMode()` method. Use the string constants and
15
+ `getModeString()` instead.
0 commit comments