Back to gallery

Sort & paginate

Order and slice result sets with sort / limit / skip.

Live
DB.find({ sort, limit, skip })
Sort
Page size
#NameCategoryPriceStock
1Sticker Packswag$6999
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.

Maravilla

A live kitchen-sink tour of every Maravilla cloud capability. Each mini-app runs against the local dev platform.

Built on Maravilla Cloud