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

randomAlt
Play Button
Video

MongoDB & Node.js: Aggregation & Data Analysis (Part 2 of 4)

When you want to analyze data stored in MongoDB, you can use MongoDB's powerful aggregation framework to do so. In part two of this quick start tutorial for beginners, Lauren Schaefer provides a high-level overview of the aggregation framework and demonstrates how to use it in a Node.js script. She explains how to use aggregate() to analyze data. Chapters: 00:00 Intro 00:45 What is the aggregation framework? 02:45 Create an aggregation pipeline in Atlas 06:45 Executing an aggregation pipeline in Node.js 11:07 Wrapping up Other videos in this tutorial series: Part 1: https://youtu.be/fbYExfeFsI0 Links Lauren mentions in the video: Lauren's blog post: Aggregation Framework with Node.js Tutorial https://developer.mongodb.com/quickstart/node-aggregation-framework Lauren's GitHub repo with the code from this video https://github.com/mongodb-developer/nodejs-quickstart/blob/master/aggregation.js Node.js & MongoDB Starter Template File https://github.com/mongodb-developer/nodejs-quickstart/blob/master/template.js Free MongoDB University Course: M121 The MongoDB Aggregation Framework https://university.mongodb.com/courses/M121/about Connect with Lauren: Twitter: https://twitter.com/lauren_schaefer​ TikTok: https://tiktok.com/@lauren_schaefer​ LinkedIn: https://www.linkedin.com/in/laurenjan...​ MongoDB Community: https://developer.mongodb.com/community/forums/t/hey-friends-im-lauren/168/ Subscribe to MongoDB ►►► https://bit.ly/3bpg1Z1 Connect with MongoDB: Website: https://bit.ly/2LjtNBZ Twitter: https://bit.ly/3fH87gR Facebook: https://bit.ly/3fEaIsd Linkedin: https://bit.ly/2SY9w90 Instagram: https://bit.ly/3bn9bDv Community Forums: https://bit.ly/2I8VCi5 TikTok: https://bit.ly/3fHoqdJ...
NodejsMongoDBAggregation FrameworkJavaScript

May 07, 2021
alt not provided
Article

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


Jan 26, 2023
News & Announcements

Introducing a New MongoDB Aggregations Book


Sep 23, 2022
All Aggregation Framework Content
search
  • Newest
  • Highest Rated
M O N G O
Article

Wordle Solving Using MongoDB Query API Operators

Let’s learn a few MongoDB Query API operators while solving Wordle...

Feb 01, 2023
Erik Hatcher
alt not provided
Play Button
Video

How to Build an Aggregation Pipeline in MongoDB Atlas

✅ Sign-up for a free cluster at: https://bit.ly/mongodb-free ✅ Get help on our Community Forums: https://bit.ly/mongodb-community Having trouble creating aggregation pipelines for complex MongoDB queries? In this video, Nic Raboy demonstrates how to use the MongoDB Atlas aggregation pipeline builder, a graphical method for constructing and testing each stage of an aggregation pipeline. Docs → https://trymongodb.com/3FxVXGt Connect with Nic on Twitter: https://twitter.com/nraboy ⏱️ Timestamps ⏱️ 00:00:00 - Intro 00:00:16 - MongoDB Atlas 00:01:12 - Aggregation Pipeline Builder Overview 00:01:33 - Building a Complex Multi-Stage Aggregation Pipeline 00:08:48 - Outro — Subscribe to MongoDB ➡️ https://bit.ly/3bpg1Z1 #mongodb #database #tutorial...

Nov 01, 2022
alt not provided
Tutorial

Joining Collections in MongoDB with .NET Core and an Aggregation Pipeline

Learn how to use the MongoDB aggregation pipeline to create stages that will join documents and collections in a .NET Core application....

Feb 16, 2022
Nic Raboy
alt not provided
Tutorial

MongoDB Aggregation Pipeline Queries vs SQL Queries

This is an overview of common SQL aggregation terms, functions, and concepts and the corresponding MongoDB aggregation operators....

Feb 07, 2022
Joe Karlsson
alt not provided
Quickstart

Getting Started with Aggregation Pipelines in Rust

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

Feb 05, 2022
Mark Smith
alt not provided
Quickstart

Getting Started with Aggregation Pipelines in Python

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

Feb 05, 2022
Mark Smith
alt not provided
Quickstart

Java - Aggregation Pipeline

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

Feb 01, 2022
Maxime Beugnet
alt not provided
Quickstart

Introduction to the MongoDB Aggregation Framework

Learn about MongoDB's aggregation framework and aggregation operators....

Feb 01, 2022
Ken W. Alger
alt not provided
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....

Jan 31, 2022
Adrienne Tacke
alt not provided
Tutorial

How to Use Custom Aggregation Expressions in MongoDB 4.4

Learn how to use custom aggregation expressions in your MongoDB aggregation pipeline operations....

Jan 28, 2022
Ado Kukic