@@ -6,6 +6,10 @@ Connection Guide
66
77.. default-domain:: mongodb
88
9+ .. facet::
10+ :name: genre
11+ :values: tutorial
12+
913.. contents:: On this page
1014 :local:
1115 :backlinks: none
@@ -63,7 +67,7 @@ To connect to MongoDB, you need to create a client. A client manages
6367your connections and runs database commands.
6468
6569.. tip:: Reuse Your Client
66-
70+
6771 We recommend that you reuse your client across sessions and operations.
6872 You can use the same ``Client`` instance to perform multiple tasks, instead of
6973 creating a new one each time. The ``Client`` type is safe for
@@ -85,7 +89,7 @@ more about creating a client, see the API documentation for `Client
8589<{+api+}/mongo#Client>`__ and `Connect() <{+api+}/mongo#Connect>`__.
8690
8791You can set the {+stable-api+} version as an option to avoid
88- breaking changes when you upgrade to a new server version. To
92+ breaking changes when you upgrade to a new server version. To
8993learn more about the {+stable-api+} feature, see the :ref:`{+stable-api+} page
9094<golang-stable-api>`.
9195
@@ -278,7 +282,7 @@ amount of time that a single operation can take to execute using the
278282connection URI string. ``Database``, ``Collection``,
279283``Session``, ``ChangeStream``, and ``Bucket`` instances elsewhere in
280284your code inherit the ``Timeout`` option from ``Client`` if you do not set a
281- Context for operations against the same entity.
285+ Context for operations against the same entity.
282286
283287If you pass a Context into an operation with a deadline, the driver uses
284288that Context deadline for the operation. If the context does not have a
@@ -319,4 +323,4 @@ URI option and execute an operation that inherits this setting:
319323 will be deprecated in an upcoming release. The driver ignores ``MaxTime`` and
320324 ``MaxCommitTime`` if you set ``Timeout``. The driver still honors
321325 ``SocketTimeout`` and ``wTimeout``, but these settings may result in
322- undefined behavior. Consider using only the single timeout option instead.
326+ undefined behavior. Consider using only the single timeout option instead.
0 commit comments