Answers for "laravel update all records with where"

PHP
0

how to update all row in laravel

DB::table('table')->update(['column' => 1]);

Model::query()->update(['confirmed' => 1]);
Posted by: Guest on February-07-2021

Code answers related to "laravel update all records with where"

Browse Popular Code Answers by Language