File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Specify Connection Options
7
7
.. contents:: On this page
8
8
:local:
9
9
:backlinks: none
10
- :depth: 1
10
+ :depth: 2
11
11
:class: singlecol
12
12
13
13
.. facet::
@@ -21,8 +21,9 @@ Overview
21
21
--------
22
22
23
23
This section describes the MongoDB connection and authentication options
24
- available in {+driver-short+}. You can configure your connection using either
25
- the connection URI or arguments to the ``Mongo::Client`` constructor.
24
+ available in {+driver-short+}. You can configure your connection by using either
25
+ the connection URI (also called a :manual:`connection string </connection-string/>`)
26
+ or by passing arguments to the ``Mongo::Client`` constructor.
26
27
27
28
Using the Connection URI
28
29
~~~~~~~~~~~~~~~~~~~~~~~~
@@ -209,7 +210,8 @@ Authentication
209
210
210
211
* - **:user**
211
212
- | The username for authentication. When this option is included
212
- in a connection URI, you must percent-encode it.
213
+ in a connection URI, you must
214
+ `percent-encode <https://datatracker.ietf.org/doc/html/rfc3986#section-2.1>`__ it.
213
215
|
214
216
| **Data Type**: ``String``
215
217
| **Default**: none
You can’t perform that action at this time.
0 commit comments