We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Checking model is banned while looping on list make N+1 Query even the relationship is eager loaded.
$users = User::with(['bans'])->get(); foreach ($users as $user) { $user->isBanned(); }
1.2.0
8.2.6
10.13.2
macOS
No response
The text was updated successfully, but these errors were encountered:
Fix N+1 issue #8
2a305a8
Thanks @rahmanramsi Fixed in v1.2.1
Sorry, something went wrong.
No branches or pull requests
What happened?
Checking model is banned while looping on list make N+1 Query even the relationship is eager loaded.
How to reproduce the bug
Package Version
1.2.0
PHP Version
8.2.6
Laravel Version
10.13.2
Which operating systems does with happen with?
macOS
Notes
No response
The text was updated successfully, but these errors were encountered: