how to delete multiple rows in laravel code example
Example 1: how delete multiple row from relation in laravel
App\Post;
$post = Post::find($id);
Comment::where('post_id',$post)->delete();
Example 2: laravel delete multiple rows
$org->products()->whereIn('id', $ids)->delete()