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 73dc918 commit 9767bfdCopy full SHA for 9767bfd
source/connect/connection-options.txt
@@ -224,7 +224,6 @@ Read Preference Options
224
.. list-table::
225
:header-rows: 1
226
:stub-columns: 1
227
- :widths: 25 25 50
228
229
* - Connection Option
230
- Data Type
@@ -236,8 +235,9 @@ Read Preference Options
236
235
237
.. code-block::
238
239
- $uriOptions = [ 'readPreference' =>
240
- MongoDB\Driver\ReadPreference.RP_SECONDARY_PREFERRED ];
+ $uriOptions = [
+ 'readPreference' => MongoDB\Driver\ReadPreference.RP_SECONDARY_PREFERRED
+ ];
241
242
**Connection URI**: ``readPreference=secondaryPreferred``
243
0 commit comments