Laravel get data based on relationship

后端 未结 0 1355
执念已碎
执念已碎 2020-12-19 14:47

So i have two tables, Bids table and Projects table. Relationship between them as such:

Bids.php:

public function projects()
  {
        return $this-&         


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