OFFSET/page=N parameters, because they get linearly slower as you go deeper. Duro uses keyset cursors so every page is equally cheap.
Request
Response
items— the page, newest first (createdAt desc, id desc).nextCursor— pass this ascursorto get the next page.nullon the last page.hasMore—trueif another page exists.
Iterating
(createdAt, id) compound index, so the query plan is identical whether you’re on page 1 or page 1,000.