Reputation: 47
Bookmaker table
id
user table
id
Bookmaker_user table
id
user_id
bookmaker_id
transaction table
id
name
bookmaker_user_id
I want to display all the transactions name where user_id=3
using Eloquent
if possible. Which relation to use? HasManyThrough
?
Upvotes: 0
Views: 40