laravel-cursor-paginator
laravel-cursor-paginator copied to clipboard
Cursor pagination for Laravel
PHP 8.0 error when there is no result QueryMeta.php fn modelsEqual Line number 106 ``` protected function modelsEqual($first, $second) { if (method_exists($first, 'is')) { return $first->is($second); } return $first ==...
On the last Laravel release, they've implemented cursor-based pagination. As I see the returning data does not contain the first/last page as in this library, so I want to keep...
Bumps [league/flysystem](https://github.com/thephpleague/flysystem) from 1.0.70 to 1.1.4. Commits f3ad691 Reject paths with funky whitespace. 1ac14e9 Added SharePoint community adapter 4347fe7 Remove ext-fileinfo from suggests, it's already in requires 1bf07fc Fix time-related...
Currently, I face a lot of issues (`operator does not exist`) because Postgres requires correct types (e.g. you cannot compare a string with a timestamp). Using this PR the conversions...
Sometimes the value can be empty (i.e. "0") and then these checks fail and it doesn't work correctly.
Union does not work well with JSON columns: ```` could not identify an equality operator for type json ```` In this case we can also use `unionAll` because we don't...
Not sure how it worked before but passing `null` does not seem to work in my case (Laravel 8): https://github.com/laravel/framework/blob/a4084639eea11ac2649325f4cd9a7c267d01a878/src/Illuminate/Database/Query/Builder.php#L280-L294
Sometimes it would be good to get the items of the paginator.
I'm seeing this SQL error: ``` Column already exists: 1060 Duplicate column name 'id' (SQL: select * from (select * from `entries` inner join `feeds` on `feeds`.`id` = `entries`.`feed_id` where...