Actualización de Laravel de la consulta
$affected = DB::table('users')
->where('id', 1)
->update(['votes' => 1]);
Alberto Peripolli
$affected = DB::table('users')
->where('id', 1)
->update(['votes' => 1]);
DB::table('users')->get();
$users = DB::table('users')
->whereIn('id', [1, 2, 3])
->get();