MongoDB Developer Associate

MongoDB Associate Developer

AggregationEnglish
Exam overview

Practice session

What does the following aggregation pipeline return? db.sales.aggregate([ { $match: { status: 'completed' } }, { $group: { _id: '$region', total: { $sum: '$amount' } } } ])

Loading your practice session…