Aggregation in MongoDB is really powerful and allows you to create solid pipelines to extract and transform data. This is an introductory video that aims to demonstrate the basics of aggregation — we will see how to create some basic pipeline to extract data using $match
and manipulate the output using $project
stages.
The aggregation stages/operators covered in this video are:
You can see the list of all the available operators in the MongoDB docs
egghead.io needs more stuff like this.
ps - wonder if it works on DocumentDB
@press0 I haven't tried but it should work. They introduced MongoDB compatible aggregations earlier last year. Have a look at this article