Answers for "delete multiple relations laravel"

C#
1

how delete multiple row from relation in laravel

AppPost;
$post = Post::find($id);
Comment::where('post_id',$post)->delete();
Posted by: Guest on April-20-2021

Code answers related to "delete multiple relations laravel"

C# Answers by Framework

Browse Popular Code Answers by Language