Skip to content
Monghoul
1:34 Pro

An aggregation, built and charted

Every stage answered before the next one is written.

Aggregation builder · Every stage answered before the next one is written Pro

Recorded on Monghoul 2.0.0-rc.1. No sound.

What happens

Four stages added to the aggregation builder one at a time, each answered by its own Run to here: a $match, then a $lookup filled in by choosing the collection and the two fields to join on, then an $unwind whose preview opens to show the whole joined customer sitting inside an order, then a $group; the result is read as a bar chart of revenue by customer tier.