Presented by Alexander Hendorf, Königsweg
Experience level: Deep dive
The MongoDB aggregation framework provides a means to calculate aggregated values without having to use map-reduce. While map-reduce is powerful, it is often more difficult than necessary for many simple aggregation tasks, such as totaling or averaging field values. In this talk, I will showcase how to use the built-in data-aggregation-pipelines for averages, summation, grouping, reshaping. You will learn how to work with documents, sub-documents, grouping by year, month, day and more.