How to make orwhere laravel eloquent only work for some where clause?

前端 未结 0 550
北恋
北恋 2020-12-12 01:33
  $list=xxxxx->where(\'speakers.status\',\'1\')->where(\'speakers.id_user\',\'!=\',Auth::id());
    
     if ($search!=\'\' && $search!=null) {
                


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