Fetch Data From MongoDB: Node.js
http://technotip.com/3827/fetch-data-from-mongodb-node-js/
find() takes 2 parameters — first parameter is an object with condition, second parameter is a callback method. If we pass in empty object as first parameter, it means, fetch all the data — similar to SELECT * in sql.
Node.js Video Tutorial List:
http://technotip.com/3674/node-js-video-tutorial-list/
Comments are closed.