Blog
MongoDB aggregation Pipeline Uses
22 Jun, 18

MongoDB aggregation Pipeline Uses

The MongoDB aggregation Pipeline just like UNIX command shell Pipeline means the possibility to execute an operation on some input and use the output as the input for the next command and so on. So MongoDB supports the same concept of an aggregation...
Things to know Before Using MongoDB
14 May, 18

Things to know Before Using MongoDB

MongoDB is a very impressive cross-platform, document-oriented database that can be used in the most type of projects. its an open source edition and built-in C++ language. MongoDB most popular in NoSQL database. Why use MongoDB? The most and main benefits...
Enable Authentication in MongoDB
22 Dec, 14

Enable Authentication in MongoDB

Follow below steps to enable authentication in MongoDB. 1- Run command praveen@acer-aspire:~# gedit /etc/mongodb.conf add ‘auth=true’ or uncomment by removing # it if exists. 2- Add atleast one user to the DB ‘admin’ . Admin user can access all the collections in the...
How to create MongoDB indexes  ?
22 May, 14

How to create MongoDB indexes ?

In simple words “indexes are used to speed up query performance”. Let’s say you have a query which takes around 120ms to execute without indexes i can assure you that with proper indexes you can reduce that time by at least 10 times. Let me show you...
How to delete MongoDB document ?
22 May, 14

How to delete MongoDB document ?

In this blog post i am going to explain how to delete MongoDB document. The are few ways which are illustrated below : If we execute remove on collection without any params then it will delete all records [php] db.users.remove({}) // it will delete all documents along...