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