Closed
Description
opened on Nov 16, 2022
https://www.mongodb.com/docs/manual/reference/operator/aggregation/limit/
DOD:
- Test
{$limit: x}
on collection that contains more than x document. (May need to use$sort
stage before$limit
to ensure consistent order) - Test with
$match
stage (again may need$sort
) - Test with
$group
stage (again may need$sort
) - any other case
Activity