Back to gallery
Sort & paginate
Order and slice result sets with sort / limit / skip.
Live
DB.find({ sort, limit, skip }) Sort
Page size
| # | Name | Category | Price | Stock |
|---|---|---|---|---|
| 1 | Sticker Pack | swag | $6 | 999 |
Showing 1–1 of 8
1 / 8
Each page turn is a real DB.find(coll, {}, { sort, limit, skip }) against the edge store. The verified sort shape is the MongoDB-style object { price: 1 }.
current find options
{
"sort": {
"price": 1
},
"limit": 1,
"skip": 0
}DB.find calls
No output yet — run the demo above.