Skip to content
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

Add seekAfter() and seekBefore() to allow for paging in both directions #2805

Closed
lukaseder opened this issue Oct 27, 2013 · 0 comments
Closed

Comments

@lukaseder
Copy link
Member

The SEEK method is currently only partially implemented, i.e. it allows only for fetching the "next" page. In order to fetch the "previous" page, a similar seekBefore() method could be introduced.

What's interesting is that the "seek method" is also referred to as keyset paging:
http://stackoverflow.com/a/3215973/521799

The jOOQ manual and blog should establish both terms, although SEEK is the preferred term in the API and synthetic SQL clause.


Note that the existing seek() will be a synonym for seekAfter()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant