8000 docs: add skip to cursor-based pagination example by kacperklosowski · Pull Request #6947 · prisma/docs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

docs: add skip to cursor-based pagination example #6947

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kacperklosowski
Copy link

Hello,

in the cursor-based pagination section, earlier examples include skip: 1 to exclude the current cursor item from the next page.

However, the final example omits it, which might confuse readers or lead to duplicated items when paginating.

This PR adds skip: 1 to the final example for consistency and to reflect the most common use case.

@aidankmcalister aidankmcalister self-requested a review June 17, 2025 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0