Summary
MongoDB is a flexible and scalable NoSQL database. It's non-relational, maintaining its records as documents in collections as opposed to rows in tables. MongoDB is schemaless; its collections are flexible and do not enforce a particular data structure.
MongoDB documents are stored as binary encoded JSON, or BSON. The object-oriented nature of its documents makes MongoDB well suited for use with object-oriented languages such as JavaScript.
As with all databases, MongoDB offers CRUD operations. Operations on MongoDB are carried out using JavaScript-like syntax.
Optimizing MongoDB performance as a developer involves reducing the amount of data returned by queries and using indexes well.
In the next chapter, you will begin handling web requests ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access