laravel update database row code example
Example: eloquent update row response
DB::table('users')
->where('id', 1)
->update(['votes' => 1]);
DB::table('users')
->where('id', 1)
->update(['votes' => 1]);