update query return column value in quyery builder laravel code example Example: DB::table('users')->get(); $users = DB::table('users')->get();