Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

MongoDB Aggregation Framework

Bogdan Stashchuk via YouTube

Overview

Dive into a comprehensive tutorial on the MongoDB Aggregation Framework, exploring its powerful features and capabilities. Learn how to load sample documents, understand the aggregation process, and master various aggregation stages including $match, $group, $count, $sort, $project, $limit, and $unwind. Discover how to work with arrays, use accumulators like $sum and $avg, and apply unary operators such as $type. Gain practical experience through numerous examples that demonstrate how to combine different stages for complex data transformations. Explore advanced topics like the $out stage for writing results to a new collection and the allowDiskUse option for handling large datasets. By the end of this 1.5-hour tutorial, you'll have a solid grasp of MongoDB's aggregation framework and be able to perform sophisticated data analysis and manipulation tasks.

Syllabus

MongoDB Aggregation Framework Tutorial.
02 Loading sample documents - MongoDB Aggregation Tutorial.
03 Aggregation Process - MongoDB Aggregation Tutorial.
04 aggregate - MongoDB Aggregation Tutorial.
05 Aggregation Stages Overview - MongoDB Aggregation Tutorial.
06 Aggregation Expressions - MongoDB Aggregation Tutorial.
07 $match - MongoDB Aggregation Tutorial.
MongoDB Aggregation Tutorial - $match.
09 $group - MongoDB Aggregation Tutorial.
10 Aggregation Example 2 $group - MongoDB Aggregation Tutorial.
11 Aggregation Example 3 $group by nested fields - MongoDB Aggregation Tutorial.
MongoDB Aggregation Tutorial - $group by multiple fields.
13 Aggregation Example 5 $match and $group - MongoDB Aggregation Tutorial.
14 Aggregation Example 6 swap $match and $group - MongoDB Aggregation Tutorial.
15 Aggregation Example 7 $group and $match - MongoDB Aggregation Tutorial.
16 $count - MongoDB Aggregation Tutorial.
17 Aggregation Example 8 $count - MongoDB Aggregation Tutorial.
18 Different documents count methods - MongoDB Aggregation Tutorial.
19 Aggregation Example 9 $group and $count - MongoDB Aggregation Tutorial.
20 $sort - MongoDB Aggregation Tutorial.
21 Aggregation Example 10 $sort - MongoDB Aggregation Tutorial.
22 Aggregation Example 11 $group and $sort - MongoDB Aggregation Tutorial.
23 $project - MongoDB Aggregation Tutorial.
24 Aggregation Example 12 $project - MongoDB Aggregation Tutorial.
25 Aggregation Example 13 $project with restructuring - MongoDB Aggregation Tutorial.
26 $limit - MongoDB Aggregation Tutorial.
27 Aggregation Example 14 $limit, $match and $group - MongoDB Aggregation Tutorial.
28 Arrays $group issue - MongoDB Aggregation Tutorial.
29 $unwind - MongoDB Aggregation Tutorial.
30 Aggregation Example 15 $unwind and $project - MongoDB Aggregation Tutorial.
31 Aggregation Example 16 $unwind and $group - MongoDB Aggregation Tutorial.
32 Accumulators - MongoDB Aggregation Tutorial.
33 Accumulators Syntax - MongoDB Aggregation Tutorial.
34 $sum - MongoDB Aggregation Tutorial.
35 Aggregation Example 17 $sum and $group - MongoDB Aggregation Tutorial.
36 Aggregation Example 18 $sum, $unwind and $group - MongoDB Aggregation Tutorial.
37 $avg - MongoDB Aggregation Tutorial.
38 Aggregation Example 19 $avg and $group - MongoDB Aggregation Tutorial.
39 Unary Operators - MongoDB Aggregation Tutorial.
40 $type - MongoDB Aggregation Tutorial.
41 Aggregation Example 20 $type and $project - MongoDB Aggregation Tutorial.
42 $out - MongoDB Aggregation Tutorial.
43 Aggregation Example 21 $out - MongoDB Aggregation Tutorial.
44 allowDiskUse Option - MongoDB Aggregation Tutorial.
45 Aggregation Module Summary - MongoDB Aggregation Tutorial.

Taught by

Bogdan Stashchuk

Reviews

Start your review of MongoDB Aggregation Framework

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.