laravel中特别雄辩的查询

时间:2014-11-05 22:31:51

标签: laravel eloquent relation

Bookmaker table
id

user table
id

Bookmaker_user table
id
user_id
bookmaker_id    

transaction table
id
name
bookmaker_user_id

如果可能,我想使用Eloquent显示user_id = 3的所有事务名称。使用哪种关系? HasManyThrough?

0 个答案:

没有答案