Laravel how to get all values with where condition

后端 未结 0 1487
醉话见心
醉话见心 2020-12-15 01:52

this code now takes all matches. I need to take only where home_team_score and away_team_score is not null:

$matches = Match::with(\'score\', \'homeTeam\', \'         


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