MongoDB aggregation with $match $skip $limit and order guarantee

57 Views Asked by At

Does the following aggregation guarantee a default ordering for the documents assuming that the $match returns unique documents? Or we always have to include a sort step to have consistent results across pages?

db.collection.aggregate([
   {$match:{...}},
   {$skip:700},
   {$limit:100}
]}
0

There are 0 best solutions below