The Aggregation Pipeline: Data on a Conveyor Belt

An aggregation pipeline sends a collection's documents through a list of stages, each doing one job, so the database can answer report questions that find can't, starting with $match to choose the documents and $count to count them.

By

Updated

Cheat sheet: The Aggregation Pipeline: Data on a Conveyor Belt
Category
MongoDB
Level
Apprentice
Tags
Aggregation Pipeline, Aggregation Stage, COUNT, match, mongodb