Using dot to load related data
I have a table with two foreign keys that are from the same table, how do I make that work
this just makes one column disappear can anyone help?
4 Replies
Solution
you mean make another relationship for relationship2 in the model file right?
Correct, yeah.
You need some way to distinct the two relationships
And the dot syntax is
<relationship>.<attribute>
Yup that worked, thanks, I thought it was
<table>.<attribute>
my bad