The MongoDB Native Node.
I need to check if a collection exists on a certain database and create it if it doesn't. I know …
node.js mongodb node-mongodb-nativeI'm using native mongo driver in Joyent cloud, the node.js application runs fine locally but in Joyent when i …
node.js node-mongodb-native joyentI am trying to connect my node app to mongodb via mongoose. It seems to be working, as I can …
node.js mongoose node-mongodb-nativeWhy I can't remove record by _id? Code: db.collection('posts', function(err, collection) { collection.remove({_id: '4d512b45…
node.js mongodb node-mongodb-nativeI'm trying to sort results based on the values of a nested object. Using node-mongodb-native, I'm doing this: this.collection.…
javascript mongodb node-mongodb-nativeScenario: Consider I am having a collection called MyCollection, with following data: { "_id" : 'MyUniqueID_01' "CreatedTime" : "2013-12-01T14:35:00Z", "…
json mongodb mongodb-query bson node-mongodb-nativeI'd like to use the MongoDB native JS driver with bluebird promises. How can I use Promise.promisifyAll() on this …
javascript mongodb promise bluebird node-mongodb-nativeRight now, the parent for-loop (m < repliesIDsArray.length) completes before the first findOne fires, so this all only loops …
node.js mongoose promise node-mongodb-native bluebirdI want to get the count of posts documents using: db.collection('posts').count() But, I got a warning: DeprecationWarning: …
mongodb node-mongodb-nativeI've had a quick look around and not found anything that's satisfied me with an answer but basically I've started …
node.js express node-mongodb-native