MongoDB and the terminal

MongoDB, also known as NoSQL database, is a document-oriented database; this means that all the data is stored like a JSON file.

Instead of storing your data in tables and rows as you would do with a relational database, MongoDB stores this data in the key-value format, using binary JSON (BSON); developers can easily map to modern object-oriented languages, without a complicated ORM layer. This new data model simplifies coding significantly and also improves the performance of the grouping of the relevant data together internally.

MongoDB is not limited to a two-dimensional approach to a relational database where we have rows and columns; it can represent objects in the real world as complex and unique as they are. Imagine ...

Get Learning Single-page Web Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.