Mongo DB - NoSQL

What is Mongo DB MongoDB is an open-source document database and leading NoSQL database. MongoDB is written in C++. MongoDB is a cross-platform , document-oriented database that provides, high performance, high availability, and easy scalability . MongoDB works on the concept of collection and document. Database The database is a physical container for collections Collection A collection is a group of MongoDB documents. It is the equivalent of an RDBMS table Document A document is a set of key-value pairs. Documents have a dynamic schema. Documents in the same collection do not need to have the same set of fields or structure, and common fields in a collection's documents may hold different types of data. _id Field of a Document _id is a 12 bytes hexadecimal number which assures the uniqueness of every document. You can provide _id while inserting the document. If you don’t provide then MongoDB provides a unique id for every document. These ...