how to use delete in laravel code example
Example 1: laravel delete where
DB::table('users')->where('id', $id)->delete();
Example 2: Laravel Delete
Flight::destroy(1);
Flight::destroy(1, 2, 3);
Flight::destroy([1, 2, 3]);
Flight::destroy(collect([1, 2, 3]));