@@ -6,6 +6,7 @@ Connection Guide
6
6
7
7
.. toctree::
8
8
9
+ /fundamentals/connection/mongoclientsettings
9
10
/fundamentals/connection/tls
10
11
/fundamentals/connection/jndi
11
12
@@ -40,6 +41,10 @@ instance of a ``MongoClient``, even across multiple threads. All resource
40
41
usage limits, such as max connections, apply to individual
41
42
``MongoClient`` instances.
42
43
44
+ To learn about the different settings you can use to control the
45
+ behavior of your ``MongoClient``, see the guide on :doc:`MongoClient
46
+ Behavior </fundamentals/connection/mongoclientsettings>`.
47
+
43
48
.. tip::
44
49
45
50
Always call ``MongoClient.close()`` to clean up resources when an
@@ -285,6 +290,8 @@ implementations. See
285
290
286
291
Connection Options
287
292
------------------
293
+
294
+ .. _direct-connection-option:
288
295
289
296
This section explains MongoDB connection and authentication options
290
297
supported by the driver. You can pass the connection options as
@@ -484,7 +491,7 @@ parameters of the connection URI to specify the behavior of the client.
484
491
operations. For more information, see the the driver documentation
485
492
for the
486
493
`MongoClientSettings.getUuidRepresentation() method <{+api+}/apidocs/mongodb-driver-core/com/mongodb/MongoClientSettings.html#getUuidRepresentation()>`__.
487
-
494
+
488
495
* - **directConnection**
489
496
- boolean
490
497
- Specifies that the driver must connect to the host directly.
0 commit comments