MongoDB / Basic: document foundations
MongoDB โ Basic: document foundations
Model typed facts and query or change bounded documents precisely.
What you will learn
- Explain BSON, embedding, references, missing values and arrays.
- Use scoped filters, projections and atomic updates.
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 learningModeling 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 learningBSON 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 learningFilters, 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 learningArrays 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 learningInserts, updates, deletes and atomic filters
Make writes express their own business preconditions. Distinguish update operators, replacement, upsert, acknowledgment and retry identity.
Start learning