Laravel Query Builder Sélectionnez d'abord
$user = DB::table('users')->where('name', 'John')->first();
var_dump($user->name);
Upset Unicorn
$user = DB::table('users')->where('name', 'John')->first();
var_dump($user->name);