Building MongoDB Aggregations in MongoDB Compass


This article is part of Robert Sheldon’s continuing series on Mongo DB. To see all of the items in the series, click here.

In the previous article in this series, I demonstrated how to build and run an aggregate statement in MongoDB Shell. An aggregate statement makes it possible to group and summarize a collection’s document data, as well as transform the data and control its output.

For the examples in that article, I used the version of MongoDB Shell that is embedded in MongoDB Compass. This article continues the discussion on aggregate statements, except that the focus is now