laravel delete multiple records of a relationships code example
Example: how delete multiple row from relation in laravel
App\Post;
$post = Post::find($id);
Comment::where('post_id',$post)->delete();
App\Post;
$post = Post::find($id);
Comment::where('post_id',$post)->delete();