Learn MongoDB
Model, query, change and speed up data in MongoDB using the shell. You will follow one museum catalogue from documents and BSON types through find filters, array queries, updates, indexes and explain, to aggregation pipelines, with every example checked against a real MongoDB 8 server.
- Beginner level
- 6 modules
- 18 lessons
- 85 quiz questions
Syllabus
01Documents and TypesWhat a document database stores, how collections differ from tables, and the BSON types behind the JSON you type.2 lessons
02Modeling DataDecide what to embed and what to reference by looking at how the data is read and how it grows.1 lesson
03Reading DataFilter with comparison and logical operators, reach into embedded documents and arrays, and control order and shape of results.6 lessons
04Writing DataAdd, change, replace and remove documents, including arrays and upserts, and read what the server reports back.4 lessons
05Indexes and ExplainSee how MongoDB runs a query, then speed it up with single-field, compound, unique, partial and TTL indexes.3 lessons
06Aggregation BasicsChain stages to filter, group, reshape and join documents, and read a pipeline to predict its output.2 lessons