Answers for "update all records in a table in laravel"

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 "update all records in a table in laravel"

Browse Popular Code Answers by Language