Using a MongoDB
In this story, we will explore the basic usage of MongoDB databases.
MongoDB is a NoSQL database based on the Document Store data model. It stores data in a document in JSON format. Everything is collection or document.
Compared with transactional databases:
- the collection is the table,
- the document is the rows.
A collection can have multiple documents. And each document can have a different number of columns. In fact, there is no defined schema. So you can add columns on the fly and to only specific…