Syllabus

  1. 01Documents and TypesWhat a document database stores, how collections differ from tables, and the BSON types behind the JSON you type.2 lessons
    1. 01Documents and Collections
    2. 02BSON and Types
  2. 02Modeling DataDecide what to embed and what to reference by looking at how the data is read and how it grows.1 lesson
    1. 01Embed or Reference
  3. 03Reading DataFilter with comparison and logical operators, reach into embedded documents and arrays, and control order and shape of results.6 lessons
    1. 01Find and Compare
    2. 02Logic, Missing Fields and Pitfalls
    3. 03Embedded Documents and Dot Notation
    4. 04Querying Arrays
    5. 05Many Conditions on Array Elements
    6. 06Sort, Limit and Projection
  4. 04Writing DataAdd, change, replace and remove documents, including arrays and upserts, and read what the server reports back.4 lessons
    1. 01Inserting Documents
    2. 02Updating with Operators
    3. 03Updating Arrays
    4. 04Replace, Delete and Find-and-Modify
  5. 05Indexes and ExplainSee how MongoDB runs a query, then speed it up with single-field, compound, unique, partial and TTL indexes.3 lessons
    1. 01Reading explain and Adding an Index
    2. 02Compound Indexes
    3. 03Unique, Partial and TTL Indexes
  6. 06Aggregation BasicsChain stages to filter, group, reshape and join documents, and read a pipeline to predict its output.2 lessons
    1. 01Pipelines: match, group and sort
    2. 02Unwinding Arrays and Joining Collections