The following table summarizes the key aggregation pipeline operators (https://docs.mongodb.com/manual/meta/aggregation-quick-reference/#operator-expressions) that are currently available:
Arithmetic | This set currently consists of 15 basic operators, which let you perform arithmetic operations including $add, $subtract, $multiply, and so on. |
Array |
These operators are needed when a document contains an array property. Notable operators in this set include:
|
Boolean | Used to formulate complex conditions. These include $and, $or, and $not. |
Comparison ... |