I am using Laravel version 5.2. As its having large amount of data, I am using cursor pagiations as below table having primary id and name fields
for page 1 -> select * from table LIMIT 10
For page 2 -> select * from table where id < $lastpagelastementID LIMIT 10
As the same way, if we sort by the name column, How can we handle this cursor pagination?
Is there any option to do this?
we can use Laravel pagination as Explained in
But i need a Cursor Pagination as above. Can any one help me to find solutions?