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