How can I mention belongs to many relation for the same table #2091
Unanswered
muthukumaran-m
asked this question in
General
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.
-
I have User table and connections table. I want to make a relationship which will return all the connections for that user.
connections table:
The Auth::id() Maybe either in user_id or requested_user_id I want to get the connected user with the authorized user.
I have writen this but it gives no records. Am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions