Skip to content

Commit 7e94872

Browse files
authored
Fixing Acrolinx
1 parent edc9ad4 commit 7e94872

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

articles/cosmos-db/mongodb/tutorial-insert.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ db.myCollection.insertMany([
5353
], {ordered: false});
5454
```
5555

56-
This tells MongoDB to insert the documents in an unordered fashion, meaning that if one document fails to be inserted, it will continue with the next one.This is recommended for write performance in Cosmos DB for MongoDB
56+
This tells MongoDB to insert the documents in an unordered fashion, meaning that if one document fails to be inserted, it will continue with the next one. This is recommended for write performance in Cosmos DB for MongoDB
5757

5858
## Next steps
5959

articles/cosmos-db/mongodb/tutorial-update.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ db.customers.updateOne(
4040

4141
In the above example, db.customers is the collection name, { _id: 1 } is the filter which matches the first document that has _id equal to 1 and { $set: { name: "Jane Smith" } } is the update operation which sets the name field of the matched document to "Jane Smith".
4242

43-
You can also use other update operators like $inc, $mul, $rename, $unset etc to update the data.
43+
You can also use other update operators like $inc, $mul, $rename, $unset etc. to update the data.
4444

4545
## updateMany() Method
4646

@@ -65,9 +65,9 @@ db.customers.updateMany(
6565
)
6666
```
6767

68-
In the above example, db.customers is the collection name, { city: "New York" } is the filter which matches all the documents that has city field equal to "New York" and { $set: { name: "Jane Smith" } } is the update operation which sets the name field of all the matched documents to "Jane Smith".
68+
In the above example, db.customers is the collection name, { city: "New York" } is the filter which matches all the documents that have city field equal to "New York" and { $set: { name: "Jane Smith" } } is the update operation which sets the name field of all the matched documents to "Jane Smith".
6969

70-
You can also use other update operators like $inc, $mul, $rename, $unset etc to update the data.
70+
You can also use other update operators like $inc, $mul, $rename, $unset etc. to update the data.
7171

7272
## Next steps
7373

0 commit comments

Comments
 (0)