MongoDB / Basic: document foundations

MongoDB โ€” Basic: document foundations

Model typed facts and query or change bounded documents precisely.

6 lessons ยท No account required

What you will learn

  • Explain BSON, embedding, references, missing values and arrays.
  • Use scoped filters, projections and atomic updates.
  1. MongoDB server, shell and BSON documents

    Place a document query inside MongoDBโ€™s architecture. Separate the server, database, collection, driver and mongosh before interpreting data or connection behavior.

    Start learning
  2. Modeling embedded and referenced data

    Choose document boundaries from access patterns and bounded growth. Explain embedding, references and duplication without treating flexible schema as no design.

    Start learning
  3. BSON types, dates and exact numbers

    Preserve types across shell, driver and API boundaries. Distinguish exact decimal money, integer identifiers, UTC dates and missing or explicit null fields.

    Start learning
  4. Filters, projection, sorting and pagination

    State exactly which documents and fields a client should receive. Combine filters safely and choose stable cursors without assuming natural collection order.

    Start learning
  5. Arrays and embedded-document queries

    Match the intended array element and preserve update scope. Distinguish separate matching elements, positional updates and array expansion in reports.

    Start learning
  6. Inserts, updates, deletes and atomic filters

    Make writes express their own business preconditions. Distinguish update operators, replacement, upsert, acknowledgment and retry identity.

    Start learning
Back to course