You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The findMany store method and the GraphQL API support cursor pagination as specified here.
A number of users have also requested offset pagination to support a "jump to page" feature, eg /?page=1. There are performance considerations here, but now that we have custom database indexes, perf issues can often be mitigated in userland.
The text was updated successfully, but these errors were encountered:
I agree with this idea. Performance is a problem, but it is not the first problem when shipping an app. Offset is inefficient, but it is effective in making pagination UI components. I believe SQL API allows OFFSET keyword, and this is unfair for GraphQL api devs. I think keeping GraphQL out of offset is unfair and a premature optimization. How can I contribute to resolve this issue?
The
findMany
store method and the GraphQL API support cursor pagination as specified here.A number of users have also requested offset pagination to support a "jump to page" feature, eg
/?page=1
. There are performance considerations here, but now that we have custom database indexes, perf issues can often be mitigated in userland.The text was updated successfully, but these errors were encountered: