Skip to content

Commit f96962a

Browse files
DOCSP-11685 mongo client settings page (#162)
* added MongoClientSettings page
1 parent 99ec7d6 commit f96962a

File tree

3 files changed

+544
-1
lines changed

3 files changed

+544
-1
lines changed

source/fundamentals/connection.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Connection Guide
66

77
.. toctree::
88

9+
/fundamentals/connection/mongoclientsettings
910
/fundamentals/connection/tls
1011
/fundamentals/connection/jndi
1112

@@ -40,6 +41,10 @@ instance of a ``MongoClient``, even across multiple threads. All resource
4041
usage limits, such as max connections, apply to individual
4142
``MongoClient`` instances.
4243

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+
4348
.. tip::
4449

4550
Always call ``MongoClient.close()`` to clean up resources when an
@@ -285,6 +290,8 @@ implementations. See
285290

286291
Connection Options
287292
------------------
293+
294+
.. _direct-connection-option:
288295

289296
This section explains MongoDB connection and authentication options
290297
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.
484491
operations. For more information, see the the driver documentation
485492
for the
486493
`MongoClientSettings.getUuidRepresentation() method <{+api+}/apidocs/mongodb-driver-core/com/mongodb/MongoClientSettings.html#getUuidRepresentation()>`__.
487-
494+
488495
* - **directConnection**
489496
- boolean
490497
- Specifies that the driver must connect to the host directly.

0 commit comments

Comments
 (0)