Key Concepts

Review core concepts you need to learn to master this subject

Aggregation Pipeline Stages

A stage in a MongoDB aggregation pipeline performs a specific operation on the data in the form of filtering or modifying the data before passing the result to either another stage or returning the result if there are no more stages.

The above visual shows data flow from a collection to the final output via stages.