File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -237,9 +237,17 @@ Read Preference Options
237
237
* - :manual:`readPreferenceTags </reference/connection-string/#mongodb-urioption-urioption.readpreferencetags>`
238
238
- | **Data Type**: ``array``
239
239
| **MongoDB\\Client Example**:
240
- | ``$uriOptions = [ 'readPreferenceTags' => [ [ 'region' => 'east' ], [ 'region' => 'west'] ] ];``
241
- |
242
- | **Connection URI Example**: ``readPreferenceTags=region:east,region:west``
240
+
241
+ .. code-block:: php
242
+
243
+ $uriOptions = [
244
+ 'readPreferenceTags' => [
245
+ [ 'region' => 'east' ],
246
+ [ 'region' => 'west']
247
+ ]
248
+ ];``
249
+
250
+ **Connection URI Example**: ``readPreferenceTags=region:east,region:west``
243
251
244
252
Authentication Options
245
253
~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments