Is it possible to group where clauses in Laravel?

前端 未结 0 1528
南旧
南旧 2020-12-14 15:37

I want to group item based on ORDER NO Where sales made by login User

 $sales = KotOrder::orderBy(\'id\',\'DESC\')
 ->where(\'prepared_by\', Auth::user()-&         


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