laravel update and get the row 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]);