@@ -53,10 +53,10 @@ with a unique field value.
53
53
54
54
MongoDB allows you to manage this field in two ways:
55
55
56
- - You can set this field for each document yourself, ensuring each
57
- ``_id`` field value is unique.
58
- - You can let the driver automatically generate unique ``ObjectId``
59
- values for each document ``_id``.
56
+ - Set the ``_id`` field for each document yourself, ensuring each
57
+ value is unique.
58
+ - Let the driver automatically generate unique ``ObjectId``
59
+ values for each document ``_id`` field .
60
60
61
61
Unless you can guarantee uniqueness, we recommend
62
62
letting the driver automatically generate ``_id`` values.
@@ -91,7 +91,7 @@ Insert Multiple Documents
91
91
-------------------------
92
92
93
93
To add multiple documents to a MongoDB collection, call the ``MongoDB\Collection::insertMany()``
94
- method and pass an array that stores the documents you want to add.
94
+ method and pass an array that contains the documents you want to add.
95
95
96
96
The following example inserts two documents into the ``restaurants`` collection:
97
97
@@ -117,7 +117,7 @@ you can set in the array:
117
117
- Description
118
118
119
119
* - ``bypassDocumentValidation``
120
- - | If set to ``true``, allows the write to opt out of
120
+ - | If set to ``true``, allows the write operation to opt out of
121
121
:manual:`document-level validation </core/schema-validation>`.
122
122
| Defaults to ``false``.
123
123
| **Type**: ``bool``
0 commit comments