Skip to content

Commit d5e4422

Browse files
mongoKartrustagir
andauthored
Apply suggestions from code review
Co-authored-by: Rea Rustagi <[email protected]>
1 parent 39512e4 commit d5e4422

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/connect/client.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ Create a MongoDB Client
2020
Overview
2121
--------
2222

23-
To connect to a MongoDB deployment, you need two things:
23+
To connect to a MongoDB deployment, you must create the following items:
2424

25-
- A **connection URI**, also known as a *connection string*, which tells the {+driver-short+}
25+
- **Connection URI**, also known as a *connection string*, which tells the {+driver-short+}
2626
which MongoDB deployment to connect to.
27-
- A **MongoDB\\Client** object, which creates the connection to the MongoDB deployment
27+
- **MongoDB\\Client** object, which creates the connection to the MongoDB deployment
2828
and lets you perform operations on it.
2929

3030
You can also use either of these components to customize the way the {+driver-short+} behaves
@@ -78,15 +78,15 @@ A standard connection string includes the following components:
7878
:ref:`php-connection-options` for a full description of
7979
these options.
8080

81-
For more information about creating a connection string, see
81+
To learn more about connection strings, see
8282
:manual:`Connection Strings </reference/connection-string>` in the
8383
MongoDB Server documentation.
8484

8585
Create a ``MongoDB\Client``
8686
---------------------------
8787

88-
To create a connection to MongoDB, construct an instance of the ``MongoDB\Client`` class,
89-
passing the connection URI as a string to the constructor.
88+
To create a connection to MongoDB, pass your connection string when constructing
89+
an instance of the ``MongoDB\Client`` class.
9090

9191
In the following example, the library uses a sample connection URI to connect to a MongoDB
9292
deployment on port ``27017`` of ``localhost``:

0 commit comments

Comments
 (0)