Explore Developer Center's New Chatbot! MongoDB AI Chatbot can be accessed at the top of your navigation to answer all your MongoDB questions.

Introducing MongoDB 8.0, the fastest MongoDB ever!
MongoDB Developer
MongoDB Developer Centerchevron-right
Developer Topicschevron-right
Productschevron-right

Aggregation Framework

plus Follow
Sign in to follow topics
MongoDB Aggregation Framework, build aggregation pipelines to process multiple documents and return computed results.
Learn More

Featured

Tutorial

How to Maintain Multiple Versions of a Record in MongoDB (2024 Updates)

Learn a relatively simple way to maintain a document history when updating without maintaining any additional collections....
MongoDB thumbnail image
Aggregation FrameworkMongoDB

Aug 12, 2024 | 6 min read
John Page
Tutorial

MongoDB Advanced Aggregations With Spring Boot and Amazon Corretto

MongoDB thumbnail image

Jun 26, 2024 | 5 min read
Tutorial

Coding With Mark: Abstracting Joins & Subsets in Python

MongoDB thumbnail image

Mar 19, 2024 | 11 min read
Aggregation Framework Quickstarts
All Aggregation Framework Quickstarts
Quickstart

Getting Started with Aggregation Pipelines in Rust

MongoDB thumbnail image

Oct 01, 2024 | 15 min read
Quickstart

Getting Started with Aggregation Pipelines in Python

MongoDB thumbnail image

Oct 01, 2024 | 14 min read
Quickstart

Java - Aggregation Pipeline

MongoDB thumbnail image

Oct 01, 2024 | 8 min read
All Aggregation Framework Quickstarts
Aggregation Framework Tutorials
All Aggregation Framework Tutorials
Tutorial

How to Maintain Multiple Versions of a Record in MongoDB (2024 Updates)

MongoDB thumbnail image

Aug 12, 2024 | 6 min read
Tutorial

MongoDB Advanced Aggregations With Spring Boot and Amazon Corretto

MongoDB thumbnail image

Jun 26, 2024 | 5 min read
Tutorial

Coding With Mark: Abstracting Joins & Subsets in Python

MongoDB thumbnail image

Mar 19, 2024 | 11 min read
All Aggregation Framework Content
search
  • Latest
  • Highest Rated
Quickstart

Getting Started with Aggregation Pipelines in Rust

Query, group, and join data in MongoDB using aggregation pipelines with Rust.
MongoDB thumbnail image

Oct 01, 2024
Mark Smith
Quickstart

Getting Started with Aggregation Pipelines in Python

Query, group, and join data in MongoDB using aggregation pipelines with Python.
MongoDB thumbnail image

Oct 01, 2024
Mark Smith
Quickstart

Java - Aggregation Pipeline

Learn how to use the Aggregation Pipeline using the MongoDB Java Driver.
MongoDB thumbnail image

Oct 01, 2024
Maxime Beugnet
Tutorial

How to Use the Union All Aggregation Pipeline Stage in MongoDB 4.4

Learn how to use the Union All ($unionWith) aggregation pipeline stage, newly released in MongoDB 4.4.
MongoDB thumbnail image

Sep 09, 2024
Adrienne Tacke
Tutorial

How to Maintain Multiple Versions of a Record in MongoDB (2024 Updates)

Learn a relatively simple way to maintain a document history when updating without maintaining any additional collections.
MongoDB thumbnail image

Aug 12, 2024
John Page
Tutorial

MongoDB Advanced Aggregations With Spring Boot and Amazon Corretto

This tutorial will help you create MongoDB aggregation pipelines using Spring Boot applications.
MongoDB thumbnail image

Jun 26, 2024
Aasawari Sahasrabuddhe
Tutorial

Coding With Mark: Abstracting Joins & Subsets in Python

Learn how to use advanced Python to abstract subsets and joins in MongoDB data models.
MongoDB thumbnail image

Mar 19, 2024
Mark Smith
Article

Wordle Solving Using MongoDB Query API Operators

Let’s learn a few MongoDB Query API operators while solving Wordle
M O N G O

Jun 09, 2023
Erik Hatcher
News & Announcements

Introducing a New MongoDB Aggregations Book

Learn more about our newest book, Practical MongoDB Aggregations, by Paul Done.
MongoDB thumbnail image

Jun 09, 2023
Article

Aggregation Pipeline: Applying Benford's Law to COVID-19 Data

Using the MongoDB Aggregation Pipeline to apply Benford's law on the COVID-19 date set from Johns Hopkins University.
MongoDB thumbnail image

Jun 09, 2023
John Page (+1)