refactor and find solution for get only few item of relation in laravel elequent

后端 未结 0 742
半阙折子戏
半阙折子戏 2021-01-16 07:18

I have the model and also my model is (one to many) (one category has many products) and product have some (one to many) relations so at first, I want to get only categories

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