Top "Mongodb" questions

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

How to find the exact version of installed MongoDB

I have mongoDB 3.2 installed locally for Windows 7. I would like to find out its specific version (like is it 3.2.1, or 3.2.3 …

mongodb
mongodb/mongoose findMany - find all documents with IDs listed in array

I have an array of _ids and I want to get all docs accordingly, what's the best way to do …

node.js mongodb mongoose filtering
Error: getaddrinfo ENOTFOUND in nodejs for get call

I am running a web server on node the code for which is given below var restify = require('restify'); var …

node.js mongodb backbone.js express restify
How to query nested objects?

I have a problem when querying mongoDB with nested objects notation: db.messages.find( { headers : { From: "[email protected]" } } ).count() 0 …

mongodb syntax nested mongodb-query bson
Remove by _id in MongoDB console

In the MongoDB console how can I remove a record by id? Here's my collection : [ { "_id" : { "$oid" : "4d512b45cc9374271…

mongodb
How do you rename a MongoDB database?

There's a typo in my MongoDB database name and I'm looking to rename the database. I can copy and delete …

mongodb database
mongodb group values by multiple fields

For example, I have these documents: { "addr": "address1", "book": "book1" }, { "addr": "address2", "book": "book1" }, { "addr": "address1", "book": "book5" }, { "addr": "address3", "…

mongodb aggregation-framework
MongoDB relationships: embed or reference?

I'm new to MongoDB--coming from a relational database background. I want to design a question structure with some comments, but …

mongodb reference embed
MongoDB logging all queries

The question is as basic as it is simple... How do you log all queries in a "tail"able log …

mongodb logging