DB::table('search_auto')->all() in laravel code example Example: DB::table('users')->get(); DB::select('select * from users ');