Intro & Documents
The document model, run MongoDB with Docker, mongosh + Compass, BSON, document vs relational. Start →
Every command, explain() output, and aggregation result in this course was verified against a real MongoDB 8 server (Community Server 8.3.11 via Docker, mongosh 2.11.1, Node driver 7.7.0 — every shell and Node fence is re-run by npm run verify, 2026-09-30) and against the official docs at mongodb.com/docs/manual. MongoDB Community Server has been licensed under the SSPL v1 for every release since 16 October 2018 (earlier releases were AGPLv3) — see mongodb.com/legal/licensing/community-edition.
Intro & Documents
The document model, run MongoDB with Docker, mongosh + Compass, BSON, document vs relational. Start →
CRUD
insertOne/Many, find, update operators ($set/$inc/$push), delete, upsert & bulkWrite. Create & read →
Querying
Comparison & logical operators, querying arrays and nested documents, projection, sort, pagination. Query →
Indexes
Single & compound indexes, the ESR rule, explain() & query plans, multikey/text/TTL/partial/unique. Speed up →
Aggregation
The pipeline — $match/$project, $group, $lookup joins, $unwind, $facet & $bucket. Aggregate →
Data Modeling
Embedding vs referencing, relationships, schema-design patterns, $jsonSchema validation, anti-patterns. Model →
Transactions & Consistency
Single-document atomicity, multi-document transactions, read/write concerns, change streams. Stay consistent →
Operations & Scaling
Replica sets, sharding, performance & profiling, security & Atlas. Run it →
Five ways to run every query
Each operation is shown in mongosh, Node.js, Python, Go, and Rust — synced tabs, so pick your driver once and follow it through.
See the documents
Reads show the actual result documents as JSON, so you always know the shape of what comes back.
Diagrams + Compass + Docker
Theme-aware Mermaid diagrams (pipelines, replica sets, sharding, the ESR rule), MongoDB Compass GUI tours, and a Docker setup to run it locally.
Bilingual + read mode
English and ไทย, quizzes with saved progress, and a distraction-free read mode.