Noreh AD
Listing large table is slow
I'm somewhat new to Laravel, and completely new to filament.
Since things seem to be quicker/practical in filament, I just hoped there was a way to do this quicker, like defining a method on the resource to return the count, or chain/call some method on the $table, idk.
Seeing that this (working with large tables) isn't handled by default, makes me think that this is not a standard issue?
I'm also trying to minimize the things I have to learn/deal with for standard things, so that's me being lazy, I guess.
34 replies
Listing large table is slow
However, if it's possible to provide count manually (for pagination) in eloquent (idk, I'll give it a go), why filament doesn't have an option for this? One can easily define a function (e.g. getCount()) in the resource class.
34 replies