Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lindseymoore committed Aug 8, 2024
1 parent 5bd5db6 commit b8cfd03
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions source/connect/mongoclient.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ Overview

To connect to a MongoDB deployment, you need two things:

- A **connection URI**, also known as a *connection string*, which tells {+driver-short+}
- A **connection URI**, also known as a *connection string*, which tells the {+driver-short+}
which MongoDB deployment to connect to.
- A **MongoClient** object, which creates the connection to the MongoDB deployment
and lets you perform operations on it.
- A **MongoClient** object, which creates the connection to and perform
opertions on the MongoDB deployment.

You can also use either of these components to customize the way {+driver-short+} behaves
You can also use either of these components to customize the way the {+driver-short+} behaves
while connected to MongoDB.

This guide shows you how to create a connection string and use a ``MongoClient`` object
Expand All @@ -39,6 +39,7 @@ Connection URI
--------------

A standard connection string includes the following components:

.. Any ref for authentication? Are we planning on making a page for authentication?

.. list-table::
Expand Down Expand Up @@ -200,7 +201,7 @@ class. Select the tab that corresponds to your preferred class.

.. tab:: MongoClientSettings
:tabid: mongoclientsettings

.. literalinclude:: /includes/connect/mongoclient.kt
:start-after: start-replica-set-client-settings
:end-before: end-replica-set-client-settings
Expand Down

0 comments on commit b8cfd03

Please sign in to comment.