whereHas and whereDoesntHave not working as expected in laravel eloquent

后端 未结 0 556
我寻月下人不归
我寻月下人不归 2020-11-29 18:41

My Query:

Payment::whereHas(\'subscription\',function($q)
   {
      $q->where(\'ends_at\',\'>\',today());
   })->orWhereDoesntHave(         


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