when use custom select with onQuery relation throw ambiguous error #3726
farshadfahimi
started this conversation in
General
Replies: 2 comments
-
Do you get this error when preloading the relationship? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Created an issue from the discussion #3726 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have simple model with custom relation
in this example when remove the
select statement
it work currectly.but if you add custom select like above. got error. I can not set table name for
throughForeignKey
and if I writecategories.id
take all of that as table name. It should generate query like belowBeta Was this translation helpful? Give feedback.
All reactions