File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -9,21 +9,28 @@ MongoDB provides the following methods for inserting :ref:`documents
9
9
10
10
.. list-table::
11
11
:widths: 35 65
12
+ :header-rows: 0
12
13
13
14
* - :method:`db.collection.insertOne()`
14
- - Inserts a single :ref:`document <bson-document-format>` into a
15
- collection.
15
+ - Inserts a single :ref:`document <bson-document-format>` into a collection.
16
16
17
17
* - :method:`db.collection.insertMany()`
18
18
- Inserts multiple :ref:`documents <bson-document-format>` into a
19
19
collection.
20
20
21
+ If you use {+atlas+}, the fully managed service for MongoDB deployments
22
+ in the cloud, you can use these methods to insert documents after
23
+ :atlas:`connecting to your cluster </tutorial/connect-to-your-cluster>`.
24
+ To learn more, see :atlas:`Insert and View a Document </tutorial/insert-data-into-your-cluster>`
25
+ in the {+atlas+} documentation.
26
+
21
27
.. _additional-inserts:
22
28
23
29
Additional Methods for Inserts
24
30
------------------------------
25
31
26
- The following methods can also add new documents to a collection:
32
+ The following methods can also add new documents to a collection, including collections
33
+ hosted in {+atlas+}:
27
34
28
35
- :method:`db.collection.updateOne()` when used with the ``upsert:
29
36
true`` option.
You can’t perform that action at this time.
0 commit comments