Hello and Welcome back readers to this amazing series in which we are going to
explore deeply the MongoDB aggregation pipeline and how it reduces the number
of steps and simplifies the process of data extraction from your database.
But Before moving forward with Aggregation Pipeline, let us learn what are the
diiferent types of aggregation that are available or provided by MongoDB.
Types of Aggregation in MongoDB:
So MongoDB provides three types of Aggregation
Map Reduce FunctionSingle
Purpose Aggregation
Aggregation Pipeline
Map Reduce Function:
Map Reduce is used for aggregating results for a large volume of data. Map reduce
has two main functions one is a map that groups all the documents and the second
one is the reduce which operates on the grouped data.
Top comments (1)
Good