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