Hi - I am trying to implement cursor based paginat...
# orm-help
v
Hi - I am trying to implement cursor based pagination. (docs here - https://www.prisma.io/docs/concepts/components/prisma-client/pagination) . how do I know I have reached the last batch available? my "isLoading" spinner just keeps spinning and no exception is being thrown.
👀 1
j
Would you try this plugin it might help you https://github.com/devoxa/prisma-relay-cursor-connection
a
Hey there, I think the only way to now for sure is to fetch the next page and check for results. If there are no more records, you have reached the end.
v
thank you