Top "Mongodb" questions

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

Mongoimport of json file

I have a json file consisting of about 2000 records. Each record which will correspond to a document in the mongo …

json mongodb import mongoimport
Delete everything in a MongoDB database

I'm doing development on MongoDB. For totally non-evil purposes, I sometimes want to blow away everything in a database—that …

mongodb
MongoDB: Is it possible to make a case-insensitive query?

Example: > db.stuff.save({"foo":"bar"}); > db.stuff.find({"foo":"bar"}).count(); 1 > db.stuff.find({"foo":"BAR"}).…

mongodb case-insensitive
How to install mongoDB on windows?

I am trying to test out mongoDB and see if it is anything for me. I downloaded the 32bit windows …

windows installation mongodb
Changing MongoDB data store directory

Until now I have not been specifying a MongoDB data directory and have had only one 30 GB primary partition. I …

mongodb filepath data-files
'Field required a bean of type that could not be found.' error spring restful API using mongodb

So I've been learning Spring in the couples of week, been following this tutorial Building a RESTful Web Service All …

java spring mongodb rest
Avoid "current URL string parser is deprecated" warning by setting useNewUrlParser to true

I have a database wrapper class that establishes a connection to some MongoDB instance: async connect(connectionString: string): Promise<…

node.js mongodb typescript express mongoose
How to list all databases in the mongo shell?

I know how to list all collections in a particular database, but how do I list all available databases in …

mongodb
How to remove a field completely from a MongoDB document?

{ name: 'book', tags: { words: ['abc','123'], lat: 33, long: 22 } } Suppose this is a document. How do I remove "words" completely …

mongodb mongodb-query database
Push items into mongo array via mongoose

I've scoured SO a good bit looking for the answer but I'm sure that I'm lost for the right words …

node.js mongodb express mongoose