Laravel - How in “whereHas” check all record in relationship?

后端 未结 0 1151
生来不讨喜
生来不讨喜 2020-12-03 05:18

I have 2 models: Customer, Subscription.

Relation in model Customer:

    public function subscriptions()
{
    return $this->belongsToMany(\'App\\Su         


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