What is the aggregation pipeline?
It is a set of operations that every document is subject to during a query
How is aggregation done in Mongoose?
ModelName.aggregate([])
What is the input for the aggregate method in Mongoose?
An array of objects
What are some aggregation operations that are commonly used?
$match, $group, $addFields, $unwind, $project, $sort, $limit
What is the format for an object in the aggregation array?
{$operation: val}