Skip to content

Commit d7e5227

Browse files
committed
test
1 parent aa3a2f3 commit d7e5227

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/connect/connection-options.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ Compression Options
153153
* - :manual:`zlibCompressionLevel </reference/connection-string/#mongodb-urioption-urioption.zlibcompressionlevel>`
154154
- {+int-data-type+}
155155
- | **MongoDB\Client**: ``$uriOptions = [ 'zlibCompressionLevel' => 3 ];``
156-
| **Connection URI**: ``compressors=snappy,zstd,zlib&zlibCompressionLevel=3``
156+
| **Connection URI**: ``zlibCompressionLevel=3``
157157

158158
Connection Pool Options
159159
~~~~~~~~~~~~~~~~~~~~~~~
@@ -232,7 +232,8 @@ Read Preference Options
232232

233233
* - :manual:`readPreference </reference/connection-string/#mongodb-urioption-urioption.readpreference>`
234234
- `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 ];``
236237
| **Connection URI**: ``readPreference=secondaryPreferred``
237238

238239
* - :manual:`maxStalenessSeconds </reference/connection-string/#mongodb-urioption-urioption.maxstalenessseconds>`

0 commit comments

Comments
 (0)