New content added weeklyLive
Master MongoDB with Adaptive AI.
Master MongoDB across 29 topics - Foundations, Aggregation and Data Modelling, and Advanced MongoDB - guided by Leyaa's adaptive intelligence.
3Parts
29Topics
240Patterns
60hEst. duration
MongoDB Course
3 - part learning journey
Foundations
11 topics · 88 patterns
Aggregation and Data Modelling
9 topics · 79 patterns
Advanced MongoDB
9 topics · 73 patterns
✦ Course Structure
Your MongoDB Journey in 3 Parts
Each part builds on the last - a deliberate progression from beginner to advanced.
Part 1: Foundations
Covers MongoDB Fundamentals, MongoDB vs SQL Mental Model, Document Structure and 8 more topics.
11Topics
88Patterns
View topics
Part 2: Aggregation and Data Modelling
Covers Aggregation Pipeline Fundamentals, Aggregation Operators, Advanced Aggregation Stages and 6 more topics.
9Topics
79Patterns
View topics
Part 3: Advanced MongoDB
Covers Transactions, Read and Write Concerns, Replication Concepts and 6 more topics.
9Topics
73Patterns
View topics
Curriculum
Everything You'll Learn
Explore every topic and pattern in the course.

MongoDB
3 parts · 29 topics · 240 patterns100% freeEvery pattern is free. Create a free account to start, and Leyaa tracks what you actually know.
Part 1: Foundations11 topics · 88 patterns
Beginner01
MongoDB Fundamentals
8 patterns
Free
What is MongoDBStart free Why document databases over relationalStart free How MongoDB stores data as documentsStart free Document model mental model (JSON/BSON)Start free Collections vs tables mental modelStart free MongoDB installation and setupStart free MongoDB Shell (mongosh) basicsStart free Database and collection creationStart free
02
MongoDB vs SQL Mental Model
6 patterns
Free
03
Document Structure
9 patterns
Free
Why document design mattersStart free BSON data types overviewStart free String and number typesStart free Boolean and null typesStart free Date and timestamp typesStart free ObjectId and how it is generatedStart free Arrays in documentsStart free Embedded documents (nested objects)Start free Document size limits and structure rulesStart free
04
Inserting Documents
9 patterns
Free
05
Finding Documents
8 patterns
Free
06
Comparison Query Operators
8 patterns
Free
07
Logical Query Operators
7 patterns
Free
08
Querying Arrays and Embedded Documents
8 patterns
Free
Why querying nested data mattersStart free Querying array elements directlyStart free $all operator for matching all elementsStart free $size operator for array lengthStart free $elemMatch for complex array queriesStart free Dot notation for embedded documentsStart free Querying nested fields at any depthStart free Array of embedded documents queriesStart free
09
Updating Documents
10 patterns
Free
Why updating documents mattersStart free updateOne methodStart free updateMany methodStart free $set operator for setting fieldsStart free $unset operator for removing fieldsStart free $inc operator for incrementingStart free $push operator for adding to arraysStart free $pull operator for removing from arraysStart free $addToSet for unique array additionsStart free Upsert behavior (update or insert)Start free
10
Deleting Documents
7 patterns
Free
11
Sorting, Limiting, and Counting
8 patterns
Free
Why result control mattersStart free sort method ascending and descendingStart free Sorting by multiple fieldsStart free limit method for paginationStart free skip method for offsetStart free Pagination pattern with skip and limitStart free countDocuments methodStart free estimatedDocumentCount for speedStart free
Part 2: Aggregation and Data Modelling9 topics · 79 patterns
Intermediate01
Aggregation Pipeline Fundamentals
9 patterns
Free
Why the aggregation pipeline is neededStart free Pipeline mental model (stages flow)Start free $match stage for filteringStart free $project stage for shaping outputStart free $group stage for aggregationStart free $sort stage for orderingStart free $limit and $skip stagesStart free Pipeline execution order mattersStart free How the engine optimizes pipelinesStart free
02
Aggregation Operators
8 patterns
Free
Why aggregation operators matterStart free $sum accumulatorStart free $avg accumulatorStart free $min and $max accumulatorsStart free $count accumulatorStart free $first and $last accumulatorsStart free $push accumulator for building arraysStart free $addToSet accumulator for unique arraysStart free
03
Advanced Aggregation Stages
9 patterns
Free
Why advanced stages matterStart free $unwind for flattening arraysStart free $lookup for joining collectionsStart free $lookup with pipeline (advanced join)Start free $addFields for computed fieldsStart free $replaceRoot for restructuringStart free $facet for multiple pipelinesStart free $bucket and $bucketAuto for distributionStart free $out and $merge for writing resultsStart free
04
Aggregation Expressions
8 patterns
Free
Why expressions matter in pipelinesStart free String expressions ($concat, $toUpper, $toLower)Start free Arithmetic expressions ($add, $multiply, $divide)Start free Date expressions ($year, $month, $dayOfMonth)Start free Conditional expressions ($cond, $switch)Start free Array expressions ($size, $arrayElemAt, $filter)Start free Type conversion expressions ($toInt, $toString)Start free Comparison expressions ($eq, $gt in aggregation)Start free
05
Indexing Fundamentals
9 patterns
Free
Why indexes are critical for performanceStart free How MongoDB indexes work (B-tree mental model)Start free createIndex methodStart free Single field indexStart free Compound index and field orderStart free Index direction (ascending vs descending)Start free Unique index behaviorStart free explain method for query analysisStart free Index usage verificationStart free
06
Advanced Indexing
9 patterns
Free
Why advanced indexing mattersStart free Multikey indexes for arraysStart free Text indexes for searchStart free Sparse indexesStart free Partial indexes with filterStart free TTL indexes for auto-expiryStart free Covered queries with indexesStart free Index intersection behaviorStart free When not to indexStart free
07
Schema Design Patterns
9 patterns
Free
Why schema design matters in MongoDBStart free Embedding vs referencing decisionStart free One-to-one embedding patternStart free One-to-many embedding patternStart free One-to-many referencing patternStart free Many-to-many with referencesStart free Denormalization trade-offsStart free Schema design for read-heavy workloadsStart free Schema design for write-heavy workloadsStart free
08
Data Modeling Best Practices
8 patterns
Free
Why modeling decisions matterStart free Document size and growth patternsStart free Bucket pattern for time-series dataStart free Attribute pattern for variable fieldsStart free Subset pattern for large documentsStart free Computed pattern for pre-aggregationStart free Anti-patterns to avoidStart free Schema versioning strategiesStart free
09
Update Operators in Depth
10 patterns
Free
Why advanced updates matterStart free $rename operator for field namesStart free $min and $max update operatorsStart free $mul operator for multiplicationStart free Array update with positional $ operatorStart free Array update with $[] all positionalStart free Array update with $[identifier] filteredStart free $each modifier with $pushStart free $slice modifier with $pushStart free Bulk write operationsStart free
Part 3: Advanced MongoDB9 topics · 73 patterns
Advanced01
Transactions
9 patterns
Free
Why transactions are needed in MongoDBStart free Single document atomicityStart free Multi-document transactionsStart free Session and transaction syntaxStart free Commit and abort behaviorStart free Transaction isolation in MongoDBStart free Read concern and write concern in transactionsStart free Transaction performance considerationsStart free When transactions are necessary vs unnecessaryStart free
02
Read and Write Concerns
7 patterns
Free
Why consistency levels matterStart free Write concern levels (w: 1, majority)Start free Read concern levels (local, majority, snapshot)Start free Read preference for replica setsStart free Causal consistency conceptStart free Tuning consistency vs performanceStart free Write concern and data durabilityStart free
03
Replication Concepts
8 patterns
Free
Why replication is neededStart free Replica set architecture mental modelStart free Primary and secondary nodesStart free Automatic failover behaviorStart free Election process conceptStart free Oplog and replication mechanismStart free Read from secondaries trade-offsStart free Replica set configuration basicsStart free
04
Sharding Concepts
8 patterns
Free
05
Change Streams
8 patterns
Free
Why change streams are neededStart free Watch method for real-time updatesStart free Change stream events (insert, update, delete)Start free Resume tokens for reliabilityStart free Change streams on collectionsStart free Change streams on databasesStart free Change stream pipelines for filteringStart free Use cases for change streamsStart free
06
Security
9 patterns
Free
Why MongoDB security mattersStart free Authentication mechanismsStart free Creating users and rolesStart free Built-in roles (read, readWrite, dbAdmin)Start free Custom role creationStart free Role-based access controlStart free Network security and bind IPStart free Encryption at rest conceptStart free Audit logging basicsStart free
07
Performance Optimization
8 patterns
Free
Why performance tuning mattersStart free Profiler for slow queriesStart free Explain plan analysis (queryPlanner, executionStats)Start free Identifying missing indexesStart free Query patterns that cause collection scansStart free Projection for reducing data transferStart free Connection pooling conceptStart free Memory and storage engine basics (WiredTiger)Start free
08
MongoDB Atlas and Cloud
8 patterns
Free
Why managed databases matterStart free Atlas cluster creation basicsStart free Atlas connection string setupStart free Atlas search overviewStart free Atlas triggers overviewStart free Atlas data federation conceptStart free Backup and restore strategiesStart free Monitoring with Atlas metricsStart free
09
Advanced Query Patterns
8 patterns
Free
Why query patterns matterStart free Text search with text indexesStart free Geospatial queries basicsStart free Regex queries in MongoDBStart free Graph lookup for recursive dataStart free Aggregation for reporting dashboardsStart free Time-series collectionsStart free Capped collections for fixed-size dataStart free
Not just a course. A learning intelligence.
Leyaa doesn't just deliver content - it understands where you are, what you need, and how to get you there fastest.
Adaptive Diagnostics
Leyaa identifies which of the 240 patterns you've mastered and which need work - before you waste time on what you already know.
Pattern-Level Precision
Every pattern gets a verdict - Learn, Practice, or Skip - so your study time goes exactly where it counts.
Intelligent Pacing
Leyaa reads your velocity across the whole course and adapts your focus list dynamically, keeping you in the optimal learning zone.
Before & After Visibility
Every assessment creates a snapshot. Retake anytime to see exactly how much you've grown - topic by topic, pattern by pattern.
Learner Autonomy
Leyaa recommends, never restricts. Override any suggestion and explore at your own pace - the system tracks everything regardless.
Clear Learning Path
Foundations → Aggregation and Data Modelling → Advanced MongoDB - a structured journey where each part sets you up perfectly for the next.
MongoDB
Ready to master MongoDB?
Start your journey today
Start your diagnostic now. Build mastery across all 29 topics in under 15 minutes.
29 Topics
240 Patterns
Personalized roadmap













