Let's make comprehension easy ...
Mostly whenever people thought of databases in past, they thought of some database management system like Oracle Database, MySQL Database or PostgresSQL. But today we got many databases that do not adhere to ACID philosophy. One such database is MongoDB.
Mongo is an open source open source document database. Data is stored as a document and documents are grouped into collections. Collections are analogous to tables in relational databases. However, there is no particular schema for the collection.
Every document has '_id' field that acts a primary key
Mongo DB offers shell to access documents and collections. To drop into the shell, type mongo. Inside the mongo shell, the following commands can be used to access and create:
Below commands show a few CRUD operations:
The above command creates a document and stores it in collection called 'people'. The document is not restricted by any column names.
Returns all the document that has name attribute and value 'John'