delete by where in laravel 7 by mode code example Example: laravel delete where DB::table('users')->where('id', $id)->delete();