Skip to content

Make entries count more performant when we use eloquent for terms and entries#553

Merged
ryanmitchell merged 4 commits into5.xfrom
fix/entries-count-performance
Mar 12, 2026
Merged

Make entries count more performant when we use eloquent for terms and entries#553
ryanmitchell merged 4 commits into5.xfrom
fix/entries-count-performance

Conversation

@ryanmitchell
Copy link
Contributor

@ryanmitchell ryanmitchell commented Mar 12, 2026

When using eloquent for both terms and entries, we can use the database directly for entriesCount() making it much more performant.

Thanks to @buddy94 for highlighting this issue.

@ryanmitchell ryanmitchell merged commit 1f3f1a9 into 5.x Mar 12, 2026
13 checks passed
@ryanmitchell ryanmitchell deleted the fix/entries-count-performance branch March 12, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants