## Aggregation Arithmetic Expression Operators in MongoDB with examples

Arithmetic expression operators allow us to perform mathematical operations in expressions in Aggregation Pipeline.

Arithmetic expression operators allow us to perform mathematical operations in expressions in Aggregation Pipeline.

In this post I will be discussing about $group in MongoDB Aggregation framework. I would take on some examples on $group and various accumulators (operators used along with $group) like $push, $avg, $sum, $min, $max and $addToSet

In this post, I will discuss $lookup, $unwind, $project and $addFields stages in MongoDB Aggregation pipeline with examples You can read about MongoDB Aggregation and Pipeline Basics in Part 1 $lookup $lookup is used for joining the data from multiple collections. You can think of it as an outer join in SQL. $lookup is little … Read more Aggregation basics in MongoDB with examples – Part 2

Aggregation is one of the most important part of MongoDB. It is complicated as well. I will try to explain you the few basics using examples.

I am going to introduce an awesome CMS based on MEVN Stack (i.e. MongoDB, ExpressJS, Vue.JS and Node.JS) called Factor.dev

For most of the cases the Number SchemaType works well for handling Integers and Floats in Mongoose, but when you need to handle large numbers you need mongoose-long npm module. Here is how you can do it.