Friday, 19 May 2017

How to get a count from MongoDB using Node.js?

I'd like to return the number of data which satisfies the query in MongoDB using Node.js

I know that there is a command 'db.collection.find(query).count()', but can't find a way to make it in node.js. Please help me!



via brain_team

No comments:

Post a Comment