create or delete laravel code example
Example 1: laravel delete where
DB::table('users')->where('id', $id)->delete();
Example 2: laravel delete
DB::table('users')->where('votes', '>', 100)->delete();
DB::table('users')->where('id', $id)->delete();
DB::table('users')->where('votes', '>', 100)->delete();