Laravel relationship similar to belongsToThrough()

后端 未结 0 1381
误落风尘
误落风尘 2020-12-29 02:01

I\'m using Laravel 8. I would like to access data from Table C to Table A, through Table B with only 1 query.

Let\'s say I have the following tables:

A) Pages

相关标签:
回答
  • 消灭零回复
提交回复
热议问题