update all the field of table in laravel code example
Example: how to update all row in laravel
DB::table('table')->update(['column' => 1]);
Model::query()->update(['confirmed' => 1]);
DB::table('table')->update(['column' => 1]);
Model::query()->update(['confirmed' => 1]);