Glenn Jacobs
Glenn Jacobs
Explore posts from servers
FFilament
Created by Glenn Jacobs on 8/8/2023 in #❓┊help
SimplePagination still running a `->count()` query
When using the following code to implement simple pagination (for speed), I note the page still performs a ->count() query on the model. The point of using simple pagination is to avoid such a query slowing the page down for large amounts of data. https://filamentphp.com/docs/3.x/tables/advanced#using-simple-pagination The question is, am I doing this wrong... or have I come across a potential bug?
4 replies