In this chapter, we are going to use MongoDB, one of the most popular NoSQL databases at the time of writing. It is even pretty popular when compared to SQL databases. According to DB-Engines Ranking (https://db-engines.com/en/ranking), MongoDB is the fifth most popular database right after all the major SQL databases. In case you have no experience with NoSQL, it means Not-only-SQL (and not No-SQL-whatsoever). MongoDB is a document-oriented database, meaning it stores document-oriented or semi-structured data. It is not very different from SQL and so is a perfect introduction to the world of NoSQL. Additionally, it is quite easy to get started with. And so I chose to use it for this chapter.
I just want to quickly mention the biggest differences with SQL databases, such as SQL Server, MySQL, and Oracle. First of all, MongoDB stores its data as Binary JSON ...