Laravel - with relation condition

前端 未结 0 1958
无人共我
无人共我 2020-11-27 22:31

Trying to integrate "if condition" inside model relation. But It doesnt work.

    $customer_index = Customer::where(\'firm_id\', $firm_id)
    ->         


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