db.collection('system.namespaces').find().toArray(function(err, items) {})
Comment by Nasser Torabzade on How to check if a collection exists in Mongodb native nodejs driver?
Leave a reply
in mongo-native: