Top "Mongodb" questions

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

How to change the type of a field?

I am trying to change the type of a field from within the mongo shell. I am doing this... db.…

mongodb
Best way to store date/time in mongodb

I've seen using strings, integer timestamps and mongo datetime objects.

datetime date mongodb
Mongoose, Select a specific field with find

I'm trying to select only a specific field with exports.someValue = function(req, res, next) { //query with mongoose var query = …

javascript node.js mongodb mongoose
MongoDB: update every document on one field

I have a collected named foo hypothetically. Each instance of foo has a field called lastLookedAt which is a UNIX …

mongodb
When to use CouchDB over MongoDB and vice versa

I am stuck between these two NoSQL databases. In my project I will be creating a database within a database. …

mongodb performance comparison couchdb nosql
What's Mongoose error Cast to ObjectId failed for value XXX at path "_id"?

When sending a request to /customers/41224d776a326fb40f000001 and a document with _id 41224d776a326fb40f000001 does …

mongodb mongoose
MongoDB/Mongoose querying at a specific date?

Is it possible to query for a specific date ? I found in the mongo Cookbook that we can do it …

node.js mongodb express mongoose odm
How to get all count of mongoose model?

How can I know the count of a model that data has been saved? there is a method of Model.…

node.js mongodb mongoose
Node.js Mongoose.js string to ObjectId function

Is there a function to turn a string into an objectId in node using mongoose? The schema specifies that something …

mongodb node.js mongoose
how can I connect to a remote mongo server from Mac OS terminal

I would like to drop into the mongo shell in the terminal on my MacBook. However, I'm interested in connecting …

mongodb mongo-shell