Skip to content

Commit 0dbe1e6

Browse files
committed
test
1 parent d7e5227 commit 0dbe1e6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/connect/connection-options.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,10 @@ Read Preference Options
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>`__
235235
- | **MongoDB\Client**:
236-
| ``$uriOptions = [ 'readPreference' => MongoDB\Driver\ReadPreference.RP_SECONDARY_PREFERRED ];``
236+
| .. code-block::
237+
|
238+
| $uriOptions = [ 'readPreference' =>
239+
| MongoDB\Driver\ReadPreference.RP_SECONDARY_PREFERRED ];
237240
| **Connection URI**: ``readPreference=secondaryPreferred``
238241

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

0 commit comments

Comments
 (0)