miguel456 f43ff4e9a0
refactor: count on the query, not collection
This commit introduces a short performance boost by counting the records in the query itself, instead of doing that in the collection Laravel returns.

Signed-off-by: miguel456 <me@nogueira.codes>
2022-11-08 00:32:48 +00:00
..
2022-10-24 01:04:22 +01:00
2021-07-25 22:54:15 +01:00
2020-11-02 21:44:05 +00:00
2021-09-04 00:44:54 +01:00
2022-10-24 01:04:22 +01:00
2021-07-25 22:54:15 +01:00
2021-09-04 13:50:43 +01:00
2021-07-20 10:32:43 +01:00