laravel db query builder update or insert code example
Example 1: DB::table('users')->get();
$users = DB::table('users')->get();
Example 2: DB::table('users')->get();
DB::table('users')->where('name', Input::get('name'))->get();
$users = DB::table('users')->get();
DB::table('users')->where('name', Input::get('name'))->get();