MongoDB Aggregation Framework
The Beginner’s Guide to MongoDB Aggregation (With Exercise) Tutorials
Posted on: 25/03/2022 (last updated: 27/02/2023) by Juan Roy CoutoGet an understanding of the MongoDB Aggregation Framework and how to take advantage of indexes to speed up queries.
Aggregation Editor Tool/Feature Documentation
Posted on: 02/06/2020 (last updated: 13/02/2024) by Kirsty BurgessTake a look at how to build aggregation queries stage-by-stage with the Aggregation Editor, starting with this example that uses $match, $group and $sort.
MongoDB $out Example | The MongoDB Aggregation Pipeline Tutorials
Posted on: 26/11/2019 (last updated: 03/11/2023) by Kathryn VargasWe show you how to use the MongoDB $out stage to output documents of an aggregation query to a new collection.
MongoDB $project Example | The MongoDB Aggregation Pipeline Tutorials
Posted on: 26/11/2019 (last updated: 03/11/2023) by Kathryn VargasThe $project stage is extremely useful for showing only the fields you need. In this article, we walk through an example of the $project stage in tandem with $lookup.
MongoDB $lookup Example | The MongoDB Aggregation Pipeline Tutorials
Posted on: 26/11/2019 (last updated: 16/10/2023) by Kathryn VargasIn this article, we show you two ways to run a MongoDB $lookup using Studio 3T. $lookup lets you join data from two collections, as long as they are on the same database.
Supported MongoDB Aggregation Operators and Stages Tool/Feature Documentation
Posted on: 30/10/2018 (last updated: 08/12/2022) by Kathryn VargasThe full list of MongoDB aggregation operators and stages supported by the Aggregation Editor, Studio 3T’s MongoDB aggregation query builder.
Extending MongoDB Aggregation with the Bucket and Facet Stages Tutorials
Posted on: 03/09/2018 (last updated: 04/08/2021) by Phil FactorLearn how to query the MongoDB aggregation pipeline more efficiently with the $bucket and $facet stages.
Using Aggregation and Regex in MongoDB to Reduce Data in a Collection Tutorials
Posted on: 19/06/2018 (last updated: 04/08/2021) by Phil FactorLearn how to use regex to transform an external data set to JSON or export it to CSV for later import, and run aggregation queries to reduce the data before creating a MongoDB collection.