Preface
Partl. Introduction to MongoDB
1. Introduction
Ease of Use
Designed to Scale
Rich with Features
...Without Sacrificing Speed
The Philosophy
2. Getting Started
Documents
Collections
Dynamic Schemas
Naming
Databases
Getting and Starting MongoDB
Introduction to the MongoDB Shell
Running the Shell
A MongoDB Client
Basic Operations with the Shell
Data Types
Basic Data Types
Dates
Arrays
Embedded Documents
_id and ObjectIds
Using the MongoDB Shell
Tips for Using the Shell
Running Scripts with the Shell
Creating a .mongorc.js
Customizing Your Prompt
Editing Complex Variables
Inconvenient Collection Names
3. Creating, Updating, and Deleting Documents
Inserting Documents
insertMany
Insert Validation
insert
Removing Documents
drop
Updating Documents
Document Replacement
Using Update Operators
Upserts
Updating Multiple Documents
Returning Updated Documents
4. Querying
Introduction to find
Specifying Which Keys to Return
Limitations
Query Criteria