Skip to content

Commit 2033a96

Browse files
committed
docs: adds Model#count to list of fns callback removed from
1 parent 9180d02 commit 2033a96

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/migrating_to_7.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ They always return promises.
106106
* `Model.aggregate`
107107
* `Model.bulkWrite`
108108
* `Model.cleanIndexes`
109+
* `Model.count`
109110
* `Model.countDocuments`
110111
* `Model.create`
111112
* `Model.createCollection`
@@ -130,6 +131,7 @@ They always return promises.
130131
* `Model.syncIndexes`
131132
* `Model.updateMany`
132133
* `Model.updateOne`
134+
* `Query.prototype.count`
133135
* `Query.prototype.find`
134136
* `Query.prototype.findOne`
135137
* `Query.prototype.findOneAndDelete`

0 commit comments

Comments
 (0)