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

Cursor Pagination in Scout #475

Closed
MikeMazalahi opened this issue Jun 1, 2021 · 3 comments
Closed

Cursor Pagination in Scout #475

MikeMazalahi opened this issue Jun 1, 2021 · 3 comments

Comments

@MikeMazalahi
Copy link

Hello,
Since Cursor pagination has been added to the Laravel framework recently (laravel/framework#37216), I was wondering whether this can be implemented for Scout as well?

@driesvints
Copy link
Member

Not sure if this is needed in scout? How would you use this?

@crynobone
Copy link
Member

Scout map the results using relevant based on keyword, where cursor pagination focus on attribute > lastId such as:

select * from users where id > 15 order by id asc limit 15;

@driesvints
Copy link
Member

Right. Don't think this is needed in Scout.

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

3 participants