@@ -92,7 +92,7 @@ Insert Multiple Documents
92
92
-------------------------
93
93
94
94
To add multiple documents to a MongoDB collection, call the ``insert_many``
95
- function and pass a list of documents you want to insert.
95
+ method and pass a list of documents you want to insert.
96
96
97
97
The following example inserts two documents into the ``restaurants`` collection:
98
98
@@ -117,26 +117,26 @@ configure the ``insert_one`` operation:
117
117
:widths: 30 70
118
118
:header-rows: 1
119
119
120
- * - Method
120
+ * - Option
121
121
- Description
122
122
123
123
* - ``bypass_document_validation``
124
- - | Instructs the driver whether or not to ignore
125
- :manual:`document-level validation </core/schema-validation>`.
124
+ - | Instructs the driver whether to ignore document-level validation. For more information,
125
+ see :manual:`Schema Validation </core/schema-validation>` in the {+mdb-server+} manual.
126
126
| Defaults to ``false``.
127
127
128
128
* - ``comment``
129
129
- | Sets a comment to attach to the operation. For more information, see the :manual:`insert command
130
- fields </reference/command/insert/#command-fields>` guide in the
131
- {+mdb-server+} manual for more information.
130
+ fields </reference/command/insert/#command-fields>` guide in the {+mdb-server+} manual.
132
131
133
132
* - ``session``
134
133
- | Sets the session to use for the operation. To learn more about sessions, see
135
134
:manual:`Client Sessions and Causal Consistency Guarantees </core/read-isolation-consistency-recency/#std-label-sessions>`
136
135
in the {+mdb-server+} manual.
137
136
138
137
* - ``write_concern``
139
- - | Sets the :manual:`write concern </core/write-concern>` for the operation.
138
+ - | Sets the write concern for the operation. For more information, see the
139
+ :manual:`Write Concern </core/write-concern>` guide in the {+mdb-server+} manual.
140
140
141
141
You can set the preceding settings on the ``insert_many`` method
142
142
by passing a ``Hash`` as a parameter to the method call. You can also use the
0 commit comments