Replies: 1 comment
-
I ran into a similar situation recently due to heavy database data I'm working with and trying to paginate. I saw this older discussion from 2017 and the mention of LengthAwarePaginator:
A newer related discussion from a month ago where the author wants to pass in the page results as "data" then set the total calculations manually: Probably could use either approach, or some combination of the two approaches to suit your needs. |
Beta Was this translation helpful? Give feedback.
-
It would be nice if the ready-made total value could be passed to the paginate method of the builder.
Then you can very well customize requests to get the number of records without manually paginating
Beta Was this translation helpful? Give feedback.
All reactions