how to define relations for friendship?

I think you have to define a separate relation for each column and merge the results in application code
Was this page helpful?