How to set model in laravel chunk method

后端 未结 0 1042
南笙
南笙 2020-12-17 09:19
   DB::table(\'orders\')->orderBy(\'id\')->where(\'status\', OrderStatuses::CREATED)->chunk(2000, function($orders) {
            $orders = collect($orders)         


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