Laravel Eloquent making select on whereHas()

后端 未结 0 1054
[愿得一人]
[愿得一人] 2020-12-16 01:47

How can I select on whereHas() some columns in relation.

My current query looks like as it follows

Location::select([\'title\'])
->with         


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