Chapter 7MongoDB Introduction

Almost all web applications depend on some sort of database for persisting information. Databases are primarily either relational or NoSQL. Relational databases, the de facto standard for years, are identified by their use of SQL. The NoSQL family of databases, as their name suggests, do not use SQL, and have risen to prominence in recent years, mainly due to the perceived ease of use and speed. The MongoDB documentation provides a very good comparison of (Mongo-specific) NoSQL commands to SQL. The next three chapters will discuss MongoDB, one of the most popular NoSQL databases, while relational databases will be explored in Chapter 10.

NoSQL Databases

The name NoSQL is a bit generic, referring to a number of data ...

Get Full Stack JavaScript Development With MEAN 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.