Replies: 1 comment
-
Hi @vrusua, It is currently not supported in Orion, but might be added in the future releases. In the meantime, please take a look at how you can customize queries - might be possible to get cursor pagination working by overriding a few query builder methods. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
@alexzarbn
Hi Aleksei,
Recently, the cursor pagination has been added to Laravel core and Eloquent API Resources:
https://laravel.com/docs/8.x/pagination#cursor-pagination
laravel/framework#37216
laravel/framework#37315
It suits better for infinite scrolling and has a better performance in comparison to the offset based one
https://shopify.engineering/pagination-relative-cursors
Just wondering, can we use the cursor pagination in Orion, or?
Thanks,
Ruslan
Beta Was this translation helpful? Give feedback.
All reactions