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
2022-02-07 19:18:02 +00:00
2020-11-02 21:44:05 +00:00
2022-10-24 01:04:22 +01:00
2022-10-24 01:04:22 +01:00
2022-10-24 01:04:22 +01:00
2022-10-24 01:04:22 +01:00
2022-10-24 01:04:22 +01:00
2022-10-24 01:04:22 +01:00
2022-10-24 01:04:22 +01:00
2022-02-24 00:56:46 +00:00
2022-10-24 01:04:22 +01:00
2022-10-24 01:04:22 +01:00
2022-10-24 01:04:22 +01:00
2021-10-20 03:43:58 +01:00
2022-10-24 01:04:22 +01:00
2022-02-24 00:56:46 +00:00
2022-10-24 01:04:22 +01:00
2020-11-02 21:44:05 +00:00
2022-10-24 01:04:22 +01:00
2020-11-02 21:44:05 +00:00
2022-10-24 01:04:22 +01:00
2020-11-02 21:44:05 +00:00
2020-11-02 21:44:05 +00:00
2020-11-02 21:44:05 +00:00
2020-12-08 00:07:53 +00:00
2020-11-02 21:44:05 +00:00
2022-10-24 01:04:22 +01:00
2022-10-24 01:04:22 +01:00
2020-11-02 21:44:05 +00:00