Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

mongoose countdocuments

await model.countDocuments({status:1})
 
PREVIOUS NEXT
Tagged: #mongoose #countdocuments
ADD COMMENT
Topic
Name
1+1 =