laravel query builder fetch data 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();