File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,10 @@ parameters, see the :ref:`Additional Information section
71
71
.. code-block:: php
72
72
73
73
$readPref = new MongoDB\Driver\ReadPreference('primaryPreferred');
74
- $result = $database->command(['ping' => 1], ['readPreference' => $readPref]);
74
+ $result = $database->command(
75
+ ['ping' => 1],
76
+ ['readPreference' => $readPref]
77
+ );
75
78
76
79
For more information on read preference options, see :manual:`Read
77
80
Preference </core/read-preference/>` in the Server manual.
@@ -148,7 +151,7 @@ the plan selected by the query optimizer, and any rejected
148
151
plans. The output also contains information about the execution of the
149
152
``explain`` command:
150
153
151
- .. code-block:: json
154
+ .. code-block:: none
152
155
:emphasize-lines: 2, 5-6
153
156
154
157
string(1203)
You can’t perform that action at this time.
0 commit comments