Answers for "mongo count"

Go
7

see number of documents in mongodb collection

db.collection.count()
Posted by: Guest on October-02-2020
3

mongo count

db.collection.countDocuments( <query>, <options> )
Posted by: Guest on May-17-2020
0

mongoose count

model.estimatedDocumentCount();
Posted by: Guest on May-17-2020

Browse Popular Code Answers by Language