Додати до Chrome
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
What is thecorrect order of stages in the MongoDB aggregation pipeline when using both the$match and $group stages?
What is the
correct order of stages in the MongoDB aggregation pipeline when using both the
$match and $group stages?
Theorder of the stages does not matter, and they can be used interchangeably.
The
order of the stages does not matter, and they can be used interchangeably.
$matchfollowed by $group
$match
followed by $group
$matchand $group cannot be used together in the same aggregation pipeline.
and $group cannot be used together in the same aggregation pipeline.
$groupfollowed by $match
$group
followed by $match
The orderof the stages depends on the specific requirements of the aggregation query.
The order
of the stages depends on the specific requirements of the aggregation query.
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!