filmov
tv
MongoDB - Aggregation Pipeline (intro)
![preview_player](https://i.ytimg.com/vi/VSX4a3h4SmQ/maxresdefault.jpg)
Показать описание
MongoDB - Aggregation Pipeline (intro)
In this tutorial I go over the basic concepts of the MongoDB Aggregation Framework with a focus on how the Aggregation Pipeline works.
Tutorial based on MongoDB 3.2.
Code:
Aggregation Framework :
The Aggregation Framework is a set of analytics tools within mongodb that allows you to run various reports or analysis on one or more mongodb collections.
Aggregation Pipeline
- Take Input from a single collection
- Pass the documents of the collection through one or more stages
- Each stage perform different operations in the Pipeline
- Each stage take as Input whatever the stage before produced as Output.
- The Input and Output for all stages are documents (stream of documents)
- At the end of Pipeline we get access to the output of the transformed and aggregated Output
It’s common to include multiple instances of one Stage in a Pipeline
to Perform a Filter so that we don’t pass the entire collection into our pipeline.
Perform a second filter to filter a second type of criteria
Each stage can be tuned to do a task.
In this tutorial I go over the basic concepts of the MongoDB Aggregation Framework with a focus on how the Aggregation Pipeline works.
Tutorial based on MongoDB 3.2.
Code:
Aggregation Framework :
The Aggregation Framework is a set of analytics tools within mongodb that allows you to run various reports or analysis on one or more mongodb collections.
Aggregation Pipeline
- Take Input from a single collection
- Pass the documents of the collection through one or more stages
- Each stage perform different operations in the Pipeline
- Each stage take as Input whatever the stage before produced as Output.
- The Input and Output for all stages are documents (stream of documents)
- At the end of Pipeline we get access to the output of the transformed and aggregated Output
It’s common to include multiple instances of one Stage in a Pipeline
to Perform a Filter so that we don’t pass the entire collection into our pipeline.
Perform a second filter to filter a second type of criteria
Each stage can be tuned to do a task.
Комментарии