GORM: How to alias a relation in a JOIN? #6349
Unanswered
geoff-maddock
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If I have a query like this where a join on a relation:
I get sql like:
How can I get the join to use a different alias (here I want
user_profile
)?The models for reference (simplified):
Beta Was this translation helpful? Give feedback.
All reactions