Skip to content

Commit

Permalink
Update migrating_to_7.md to include Model.countDocuments
Browse files Browse the repository at this point in the history
`Model.countDocuments` also removed the option for callbacks, but is not mentioned in the migration document
  • Loading branch information
Climax777 authored Jun 14, 2023
1 parent 2f88d21 commit 4e793e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/migrating_to_7.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ They always return promises.
- `Model.aggregate`
- `Model.bulkWrite`
- `Model.cleanIndexes`
- `Model.countDocuments`
- `Model.create`
- `Model.createCollection`
- `Model.createIndexes`
Expand Down

0 comments on commit 4e793e8

Please sign in to comment.