Conclusion / Learn

MongoDB Aggregation in PHP

In this unit, you learned how to:

  • Define aggregation and the components of an aggregation pipeline
  • Build an aggregation pipeline that uses the $match and $group stages
  • Build an aggregation pipeline that uses the $sort and $project stages

Resources

Use the following resources to learn more about performing aggregation with PHP:

Lesson 1: Building a MongoDB Aggregation Pipeline in PHP Applications

Lesson 2: Using MongoDB Aggregation Stages with PHP: Match and Group

Lesson 3: Using MongoDB Aggregation Stages with PHP: Sort and Project