laravel eloquent delete all data code example
Example 1: truncate table laravel eloquent
MyModel::truncate();
Example 2: eloquent delete all where
Picture::where('filename', $filename)->delete();
Example 3: truncate table laravel eloquent
Visitor::query()->truncate();