What is MongoDB

MongoDB is NoSQL database that means it is not relational where you cant use join but we can link documents using references.

Instead of table used in SQL, we use documents in NoSQL (mongoDB). And those documents are structured in BSON language which is very much identical to JSON language.

Few advantages of MongoDB are:
Quick and easy to make schema iteration
Scalable, reliable and is object oriented.
Agile, schema can be added again and again easily.

Document is the unit in mongoDB written in BSON but looks like JSON
Collection is the group of documents.

After installing mongoDB,open command prompt and start server by typing mongod.
Again open another command prompt and type mongo to start writing mongo commands

Leave a Reply

Your email address will not be published. Required fields are marked *