Top "Mongodb" questions

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

Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused

while trying this mongo command in ubuntu I am getting this error. ritzysystem@ritzysystem-Satellite-L55-A:~$ mongo MongoDB shell version: 2.6.1 connecting …

node.js mongodb express
In Mongoose, how do I sort by date? (node.js)

let's say I run this query in Mongoose: Room.find({}, (err,docs) => { }).sort({date:-1}); This doesn't work!

node.js mongodb mongoose
How to export JSON from MongoDB using Robomongo

So I do not know much about MongoDB. I have RoboMongo using which I connect to a MongoDB. What I …

mongodb robo3t
How to listen for changes to a MongoDB collection?

I'm creating a sort of background job queue system with MongoDB as the data store. How can I "listen" for …

mongodb
Spring Boot and how to configure connection details to MongoDB?

Being new to Spring Boot I am wondering on how I can configure connection details for MongoDB. I have tried …

spring mongodb spring-data spring-boot
How to Import .bson file format on mongodb

I've exported the database on the server using mongodump command and dump is stored in .bson file. I need to …

mongodb
TransactionRequiredException Executing an update/delete query

Hi I am using hibernate JPA with spring and mongodb and i am running my application on Glassfish-4.0. My service …

java spring hibernate mongodb jpa
mongodb: insert if not exists

Every day, I receive a stock of documents (an update). What I want to do is insert each item that …

python mongodb bulkinsert mongodb-query
mongodb, replicates and error: { "$err" : "not master and slaveOk=false", "code" : 13435 }

I tried mongo replica sets for the first time. I am using ubuntu on ec2 and I booted up three …

mongodb amazon-ec2
How to search in array of object in mongodb

Suppose the mongodb document(table) 'users' is { _id: 1, name: { first: 'John', last: 'Backus' }, birth: new Date('Dec 03, 1924'), death: new …

javascript arrays node.js mongodb express