ideas
ideas copied to clipboard
[Feature] Ability to mutate paginated results
When you have a query like so:
Table::paginate();
You get the results for a specific "page" of results. However, if you need to mutate any of the results from that table, it isn't as easy as just running map
on it.
If you do, you lose all of the structure for the pagination.
A way to mutate the pagination results without losing the structure would be very useful.
This is much needed!! I'm surprised this is not a feature yet.
If I have time, I might work on this.