How to index data in MongoDB
Irrespective of what database you use, performance of any query depends on indexing of data fields in the database. MongoDB is no different.
By default MongoDB creates an index on field _id. But it ...
Connecting to MongoDB from remote client machine
Configuring a MongoDB server on your server is an easy task. When you are connecting to instance of MongoDB server from same local machine, networking related issues do not come into play. It is on lo...