File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ Compression Options
153
153
* - :manual:`zlibCompressionLevel </reference/connection-string/#mongodb-urioption-urioption.zlibcompressionlevel>`
154
154
- {+int-data-type+}
155
155
- | **MongoDB\Client**: ``$uriOptions = [ 'zlibCompressionLevel' => 3 ];``
156
- | **Connection URI**: ``compressors=snappy,zstd,zlib& zlibCompressionLevel=3``
156
+ | **Connection URI**: ``zlibCompressionLevel=3``
157
157
158
158
Connection Pool Options
159
159
~~~~~~~~~~~~~~~~~~~~~~~
@@ -232,7 +232,8 @@ Read Preference Options
232
232
233
233
* - :manual:`readPreference </reference/connection-string/#mongodb-urioption-urioption.readpreference>`
234
234
- `MongoDB\\Driver\\ReadPreference <https://www.php.net/manual/en/class.mongodb-driver-readpreference.php>`__
235
- - | **MongoDB\Client**: ``$uriOptions = [ 'readPreference' => MongoDB\Driver\ReadPreference.RP_SECONDARY_PREFERRED ];``
235
+ - | **MongoDB\Client**:
236
+ | ``$uriOptions = [ 'readPreference' => MongoDB\Driver\ReadPreference.RP_SECONDARY_PREFERRED ];``
236
237
| **Connection URI**: ``readPreference=secondaryPreferred``
237
238
238
239
* - :manual:`maxStalenessSeconds </reference/connection-string/#mongodb-urioption-urioption.maxstalenessseconds>`
You can’t perform that action at this time.
0 commit comments