aggregation pipeline என்பது MongoDB-ன் சக்திশালி data processing மற்றும் analysis framework — இது documents-ஐ stages என்ற sequence வழியாக அனுப்புகிறது, ஒவ்வொரு stage-ம் data-ஐ transform செய்கிறது (filtering, grouping, computing). இது SQL-ன் GROUP BY மற்றும் complex analytical queries-க்கு equivalent ஆகும், ஆனால் இது மிகவும் flexible.
Pipeline concept: stages transform data
db..([
{ : { : } },
{ : {
: ,
: { : },
: { : }
}},
{ : { : - } },
{ : }
]);
