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
Currently it doesn't work on this package. The first reason is that in this package orders are stored differently in builder objects and therefore Query|Eloquent\Builder::ensureOrderForCursorPagination() methods doesn't return the expected results. So the fix can be to override ensureOrderForCursorPagination() in this package or make sure orders arrays in mongodb builder objects are the same format as those in the original Laravel ones.
The text was updated successfully, but these errors were encountered:
* Add support for cursor pagination
This commit adds support for Laravel cursor pagination.
Fixes#2314
Co-authored-by: divine <48183131+divine@users.noreply.github.com>
Is your feature request related to a problem?
This feature was added to Laravel 8. Please see the docs: https://laravel.com/docs/8.x/pagination#cursor-pagination.
Describe the solution you'd like
Currently it doesn't work on this package. The first reason is that in this package orders are stored differently in builder objects and therefore
Query|Eloquent\Builder::ensureOrderForCursorPagination()
methods doesn't return the expected results. So the fix can be to overrideensureOrderForCursorPagination()
in this package or make sure orders arrays in mongodb builder objects are the same format as those in the original Laravel ones.The text was updated successfully, but these errors were encountered: