Paging backwards with cursor-based pagination #247
Closed
ericchernuka
started this conversation in
Ideas
Replies: 1 comment
-
|
Backward pagination is now supported since v1.1.0! data/tests/pagination-offset.test.ts Lines 164 to 168 in 934b168 Also possible with cursor-based pagination: data/tests/pagination-cursor.test.ts Lines 89 to 94 in 934b168 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Wondering if there is any appetite for
takeusing a negative number to allow for paging backward easily? I haven't dug into the code to see the implications of a change like this but I wanted to get some feedback since it seems incredibly useful and straightforward for users.https://www.prisma.io/docs/concepts/components/prisma-client/pagination#example-paging-backwards-with-cursor-based-pagination
Beta Was this translation helpful? Give feedback.
All reactions