Replies: 1 comment 3 replies
-
@thetutlage Really sorry for tagging you here but I really need to know why it is happening. Please let us know what's going on here. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Why 2 separate MySQL query for relationship?
User
Model:UserGroup
Model:when I execute
await user.related('inGroups').query().preload('group');
why 2 separate SQL queries are being executed?Beta Was this translation helpful? Give feedback.
All reactions