Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

countDocuments mongoose

Adventure.countDocuments({ type: 'jungle' }, function (err, count) {
  console.log('there are %d jungle adventures', count);
});
Source by mongoosejs.com #
 
PREVIOUS NEXT
Tagged: #countDocuments #mongoose
ADD COMMENT
Topic
Name
6+2 =