laravel eloquent aggregate functions code example
Example 1: laravel delete where
DB::table('users')->where('id', $id)->delete();
Example 2: php artisan make model
php artisan make:model Flight
DB::table('users')->where('id', $id)->delete();
php artisan make:model Flight