Atualização do Laravel da 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();