Course details
Mongodb
Learn how a document database thinks and how to work with it from mongosh. You will choose the right BSON types, create, read, update and delete documents, write precise queries, and add the indexes that keep them fast, all on one small bookshop collection.
Course curriculum
MongoDB Basics5 lessons
Meet MongoDB and Atlas, compare documents with tables, learn the core vocabulary, nest objects and arrays, and see why documents are stored as BSON.
Data Model & Data Types4 lessons
Learn how strings, booleans and null behave in queries, choose between Int32, Int64, Double and Decimal128, store ids and times correctly, and understand how mixed types sort.
Collections & Methods5 lessons
Insert single documents and batches, read with filters and cursors, count exactly or fast, change fields with update operators, and delete or batch writes safely.
Query Operators5 lessons
Compare values, test membership and presence, combine conditions with and, or, nor and not, query arrays precisely, and shape results with projections.
Creating Indexes4 lessons
Create single-field and compound indexes, read explain output, order fields with the ESR rule, search words with text indexes, expire documents with TTL, and find nearby places with 2dsphere.
