@@ -22,12 +22,12 @@ Overview
22
22
23
23
To connect to a MongoDB deployment, you need two things:
24
24
25
- - A **connection URI**, also known as a *connection string*, which tells {+driver-short+}
25
+ - A **connection URI**, also known as a *connection string*, which tells the {+driver-short+}
26
26
which MongoDB deployment to connect to.
27
- - A **MongoClient** object, which creates the connection to the MongoDB deployment
28
- and lets you perform operations on it .
27
+ - A **MongoClient** object, which creates the connection to and perform
28
+ opertions on the MongoDB deployment .
29
29
30
- You can also use either of these components to customize the way {+driver-short+} behaves
30
+ You can also use either of these components to customize the way the {+driver-short+} behaves
31
31
while connected to MongoDB.
32
32
33
33
This guide shows you how to create a connection string and use a ``MongoClient`` object
@@ -39,6 +39,7 @@ Connection URI
39
39
--------------
40
40
41
41
A standard connection string includes the following components:
42
+
42
43
.. Any ref for authentication? Are we planning on making a page for authentication?
43
44
44
45
.. list-table::
@@ -200,7 +201,7 @@ class. Select the tab that corresponds to your preferred class.
200
201
201
202
.. tab:: MongoClientSettings
202
203
:tabid: mongoclientsettings
203
-
204
+
204
205
.. literalinclude:: /includes/connect/mongoclient.kt
205
206
:start-after: start-replica-set-client-settings
206
207
:end-before: end-replica-set-client-settings
0 commit comments