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>
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>