MongoDB aggregation framework
The MongoDB aggregation framework allows you to fine tune and process complex data on the server, drastically reducing the amount of data that is transferred to the application for further processing. The aggregation framework is an incredibly powerful data processing workhorse that enables you to:
- Handle custom data presentations through views
- Join data from different collections
- Perform data science tasks, such as data wrangling and analysis
- Handle big data
- Run real-time analytics, monitor data, and create dashboards
MongoDB is centered around the concept that data should be easily retrievable and accessible to fit your application. As shown in Chapter 7, Advanced Querying in MongoDB, the querying framework—with its tunable parameters—is powerful. However, it may not always provide the precise data in the required shape or format. It may also lack the accompanying descriptive statistics that are frequently...