$results = DB::table('users')->get();
DB::table('users')->insert([ 'name' => 'John Doe', 'email' => 'johndoe@example.com', 'password' => bcrypt('password'), ]);
DB::table('users') ->where('id', 1) ->update(['votes' => 1]);This code updates the `votes` column to 1 for the record in the `users` table where the `id` column equals 1. These examples are part of the package library for Laravel called `illuminate/database`.