laravel delete whrer code example
Example 1: Laravel Delete
Flight::destroy(1);
Flight::destroy(1, 2, 3);
Flight::destroy([1, 2, 3]);
Flight::destroy(collect([1, 2, 3]));
Example 2: laravel delete
DB::table('users')->where('votes', '>', 100)->delete();