@@ -36,8 +36,8 @@ Using the Connection URI
36
36
37
37
If you pass a connection URI to the ``MongoDB\Client`` constructor, you can include
38
38
connection options in the URI as ``<name>=<value>`` pairs. In the following example,
39
- the connection URI contains the ``tls`` option with a value of ``true`` and the
40
- ``tlsCertificateKeyFile`` option with a value of ``/path/to/file.pem``:
39
+ the connection URI sets the ``tls`` option to ``true`` and the
40
+ ``tlsCertificateKeyFile`` option to ``/path/to/file.pem``:
41
41
42
42
.. literalinclude:: /includes/connect/connection-options.php
43
43
:language: php
@@ -56,7 +56,7 @@ instead of including them in your connection URI.
56
56
Configuring the connection this way makes it easier to
57
57
change settings at runtime and helps you catch errors during compilation.
58
58
59
- The following example shows how to use the the ``$uriOptions`` parameter of the
59
+ The following example shows how to use the ``$uriOptions`` parameter of the
60
60
``MongoDB\Client`` constructor to set connection options:
61
61
62
62
.. literalinclude:: /includes/connect/connection-options.php
@@ -335,7 +335,7 @@ Miscellaneous Configuration
335
335
* - :manual:`loadBalanced </reference/connection-string/#mongodb-urioption-urioption.loadbalanced>`
336
336
- | **Data Type**: {+bool-data-type+}
337
337
| **MongoDB\\Client Example**: ``$uriOptions = [ 'loadBalanced' => true ];``
338
- | **Connection URI Example**: ``loadBalanced=false ``
338
+ | **Connection URI Example**: ``loadBalanced=true ``
339
339
340
340
* - :manual:`srvMaxHosts </reference/connection-string/#mongodb-urioption-urioption.srvmaxhosts>`
341
341
- | **Data Type**: {+int-data-type+}
0 commit comments