Aggregation
- Aggregation framework
- A Processing Pipeline
- Pipeline Operators
- Example: Insert data
- Show data
- Group by name and sum - $sum
- Group by name and caluclate average $avg
- Group by name $max, $min
- Group by name and count
- All the elements - sum
- All the elements - sum
- $match (filter)
- $match (filter) and the total
- $match with $gt
- $group with $push
- New data set
- New data set
- $unwind
- $unwind and $group
- $unwind and $group and $sort
- $match
- $match and $unwind and $group