Introduction to MongoDB

Hello everyone. Over the past few weeks i have been playing with MongoDB.  I would like to share with all of you what i learn so far. So let`s get started.

What is MongoDB?

MongoDB is a cross-platform, open-source, document oriented database also called as NoSQL database. You can find more information about NoSQL here. Data in MongoDB is a document, which is a data structure composed of field and value pairs. These documents are similar to JSON objects. The values of fields may include other documents, arrays, and arrays of documents. For example

{
         name: 'MongoDB',
         databaseType: 'nosql',
         keywords: ['nosql','document-oriented']
}

MongoDB stores the document on the disk in BSON format. BSON is binary representation of JSON documents. You can find more information about BSON here

Read more