Skip to content

Commit

Permalink
Merge pull request #8788 from dandv/patch-4
Browse files Browse the repository at this point in the history
docs(lib/model): fix punctuation
  • Loading branch information
vkarpov15 authored Apr 13, 2020
2 parents 89a70e8 + 9bb0274 commit 0a83a9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -3404,13 +3404,13 @@ function _setIsNew(doc, val) {
/**
* Sends multiple `insertOne`, `updateOne`, `updateMany`, `replaceOne`,
* `deleteOne`, and/or `deleteMany` operations to the MongoDB server in one
* command. This is faster than sending multiple independent operations (like)
* command. This is faster than sending multiple independent operations (e.g.
* if you use `create()`) because with `bulkWrite()` there is only one round
* trip to MongoDB.
*
* Mongoose will perform casting on all operations you provide.
*
* This function does **not** trigger any middleware, not `save()` nor `update()`.
* This function does **not** trigger any middleware, neither `save()`, nor `update()`.
* If you need to trigger
* `save()` middleware for every document use [`create()`](http://mongoosejs.com/docs/api.html#model_Model.create) instead.
*
Expand Down

0 comments on commit 0a83a9f

Please sign in to comment.