Top "Mongodb" questions

MongoDB is a scalable, high-performance, open source, document-oriented NoSQL database.

MongoDB: How to update multiple documents with a single command?

I was surprised to find that the following example code only updates a single document: > db.test.save({"_id":1, "…

mongodb document nosql
MongoDB what are the default user and password?

I am using the same connection string on local and production. When the connection string is mongodb://localhost/mydb What …

mongodb
Connection refused to MongoDB errno 111

I have a Linode server running Ubuntu 12.04 LTS and MongoDB instance (service is running and CAN connect locally) that I …

linux mongodb firewall iptables
Get names of all keys in the collection

I'd like to get the names of all the keys in a MongoDB collection. For example, from this: db.things.…

mongodb mongodb-query aggregation-framework
unable to start mongodb local server

I am new to mongodb .. when i tried running mongodb local server with mongod command it failed to run and …

mongodb
Unable to create/open lock file: /data/mongod.lock errno:13 Permission denied

How to I get mongo to use a mounted drive on ec2? I really do not understand. I attached a …

mongodb
Mongoose: Get full list of users

I have tried to use Mongoose to send the list of all users as follows: server.get('/usersList', function(…

javascript node.js mongodb mongoose
MongoDB - Update objects in a document's array (nested updating)

Assume we have the following collection, which I have few questions about: { "_id" : ObjectId("4faaba123412d654fe83hg876"), "user_id" : 123456, "…

mongodb
How can I tell where mongoDB is storing data? (its not in the default /data/db!)

My host came with a mongodb instance and there is no /db directory so now I am wondering what I …

mongodb directory database
How do I partially update an object in MongoDB so the new object will overlay / merge with the existing one

Given this document saved in MongoDB { _id : ..., some_key: { param1 : "val1", param2 : "val2", param3 : "val3" } } An object with new information …

mongodb mongodb-java