MongoDB 201: Lesson 3, Exercise 5 » Sorting the documents in the aggregation pipeline

preview_player
Показать описание
How to sort documents using Studio 3T’s aggregation pipeline.

In this exercise, you will add the fifth and last stage to the pipeline. The stage is based on the $sort aggregate operator, which lets you sort the documents in the pipeline, based on one or more fields.

Рекомендации по теме