File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -103,8 +103,8 @@ are in the correct format.
103103
104104
105105If your MongoDB deployment is on MongoDB Atlas, you can check your connection
106- string by using the :ref:`Connect to MongoDB Atlas <connect-atlas-kotlin-driver>`
107- code example. Make sure to replace the connection string in the example.
106+ string by using the :ref:`Atlas Connection Example <connect-atlas-kotlin-driver>`.
107+ Make sure to replace the connection string in the example with yours .
108108
109109When connecting to a replica set, you should include all of the hosts
110110in the replica set in your connection string. Separate each of the hosts
@@ -127,14 +127,14 @@ database:
127127 :copyable: false
128128
129129 val mongoClient =
130- MongoClients .create("mongodb://<username>:<password>@<hostname>:<port>/?authSource=users");
130+ MongoClient .create("mongodb://<username>:<password>@<hostname>:<port>/?authSource=users")
131131
132132.. _kotlin-error-sending-message:
133133
134134Error Sending Message
135135~~~~~~~~~~~~~~~~~~~~~
136136
137- When you end a request through the driver and it is unable to send the command,
137+ When you send a request through the driver and it is unable to send the command,
138138it often displays the following general error message:
139139
140140.. code-block:: none
Original file line number Diff line number Diff line change 1010 :depth: 2
1111 :class: singlecol
1212
13+ What if I can't connect to a MongoDB instance?
14+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15+
16+ If you have trouble connecting to a MongoDB deployment, see
17+ the :ref:`Connection Troubleshooting Guide <kotlin-connection-troubleshooting>`
18+ for possible solutions.
19+
1320How Is the Kotlin Driver Different from Kmongo?
1421-----------------------------------------------
1522
@@ -43,7 +50,8 @@ key differences:
4350 or `GSON <https://github.com/google/gson>`__.
4451- The official driver does not support MongoDB shell commands.
4552- The official driver supports type-safe queries with the Builders API,
46- whereas KMongo uses infix functions and property references for type-safe queries.
53+ whereas KMongo uses infix functions and property references for
54+ type-safe queries.
4755
4856.. _kotlin-faq-connection-pool:
4957
You can’t perform that action at this time.
0 commit comments