all(); laravel code example
Example 1: laravel delete where
DB::table('users')->where('id', $id)->delete();
Example 2: laravel eloquent fill
$flight->fill(['name' => 'Flight 22']);
DB::table('users')->where('id', $id)->delete();
$flight->fill(['name' => 'Flight 22']);