cursorPaginate(25, cursor, "subscriptions.id") orders and filters by the qualified SQL column, but reads lastRow["subscriptions.id"]. Native SQL drivers expose the unaliased result as id. The resulting missing nextCursor silently truncates joined lists after their first page; composite cursor entries become undefined as well. Resolve qualified cursor values from the returned column name and reject a cursor column omitted from the SELECT list. Related enterprise subscriber work: https://github.com/stacksjs/hq.training/issues/348
Qualified cursor columns lose the next-page cursor in joined queries
#1199Sign in to comment on this issue.