I\'m aware that the Node driver for Mongo can be promisified using external libraries. I was curious to see if ES6 promises could be used with MongoClient.connect
MongoClient.connect
Another syntax for the response of loganfsmyth (thanks by the way)
cursor.count().then(function(cursor_count){ if(cursor_count){ // use cursor }else{ // no results } }