Eloquent - How to use parent column in subQuery of relationship?

后端 未结 0 1355
醉话见心
醉话见心 2021-01-05 05:49

I have 2 Models:

Categorywith id, random, ...

Postwith id,cat_id,...

Relationship in 2 Models ok.

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