select update laravel code example
Example: laravel where
$users = DB::table('users')
->whereDate('created_at', '2016-12-31')
->get();
$users = DB::table('users')
->whereDate('created_at', '2016-12-31')
->get();