Skip to content

Commit ae06ed6

Browse files
author
Chris Cho
committed
edits
1 parent 9cc1b02 commit ae06ed6

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

source/includes/quick-start/connect-to-mongodb.rst

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,6 @@
3434
}
3535
run().catch(console.dir);
3636
37-
.. tip::
38-
39-
The preceding code example assigns the ``MongoClient`` variable using
40-
:mdn:`object destructuring <Web/JavaScript/Reference/Operators/Destructuring_assignment#object_destructuring>`,
41-
introduced in Node.js v6. You can create an instance of a
42-
``MongoClient`` without using object destructuring as shown in the
43-
following code:
44-
45-
.. code-block:: js
46-
47-
const MongoClient = require("mongodb").MongoClient;
48-
4937
.. step:: Assign the Connection String
5038

5139
Replace the ``<connection string uri>`` placeholder in

source/includes/quick-start/next-steps.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ connects to a MongoDB deployment hosted on MongoDB Atlas,
33
and retrieves a document that matches a query.
44

55
To learn more about the MongoDB read and write operations that you
6-
can call from the {+driver-short+}, read the guide on
7-
:ref:`CRUD Operations <node-crud-landing>` or see examples of
8-
common operations in the :ref:`Usage Examples <node-usage-examples>`
9-
section.
6+
can call from the {+driver-short+}, discover how to perform read
7+
and write operations in the :ref:`CRUD Operations <node-crud-landing>`
8+
section or see examples of frequently-used operations in the
9+
:ref:`Usage Examples <node-usage-examples>` section.

0 commit comments

Comments
 (0)