@@ -7,8 +7,8 @@ Connection Guide
77.. default-domain:: mongodb
88
99.. facet::
10- :type : genre
11- :values: tutorial
10+ :name : genre
11+ :values: tutorial
1212
1313.. contents:: On this page
1414 :local:
@@ -67,7 +67,7 @@ To connect to MongoDB, you need to create a client. A client manages
6767your connections and runs database commands.
6868
6969.. tip:: Reuse Your Client
70-
70+
7171 We recommend that you reuse your client across sessions and operations.
7272 You can use the same ``Client`` instance to perform multiple tasks, instead of
7373 creating a new one each time. The ``Client`` type is safe for
@@ -89,7 +89,7 @@ more about creating a client, see the API documentation for `Client
8989<{+api+}/mongo#Client>`__ and `Connect() <{+api+}/mongo#Connect>`__.
9090
9191You can set the {+stable-api+} version as an option to avoid
92- breaking changes when you upgrade to a new server version. To
92+ breaking changes when you upgrade to a new server version. To
9393learn more about the {+stable-api+} feature, see the :ref:`{+stable-api+} page
9494<golang-stable-api>`.
9595
@@ -282,7 +282,7 @@ amount of time that a single operation can take to execute using the
282282connection URI string. ``Database``, ``Collection``,
283283``Session``, ``ChangeStream``, and ``Bucket`` instances elsewhere in
284284your code inherit the ``Timeout`` option from ``Client`` if you do not set a
285- Context for operations against the same entity.
285+ Context for operations against the same entity.
286286
287287If you pass a Context into an operation with a deadline, the driver uses
288288that Context deadline for the operation. If the context does not have a
@@ -323,4 +323,4 @@ URI option and execute an operation that inherits this setting:
323323 will be deprecated in an upcoming release. The driver ignores ``MaxTime`` and
324324 ``MaxCommitTime`` if you set ``Timeout``. The driver still honors
325325 ``SocketTimeout`` and ``wTimeout``, but these settings may result in
326- undefined behavior. Consider using only the single timeout option instead.
326+ undefined behavior. Consider using only the single timeout option instead.
0 commit comments