Answers for "delete records from multiple tables in a single query laravel"

2

delete multiple row in laravel

DB::table('users')->delete();

DB::table('users')->where('votes', '>', 100)->delete();
Posted by: Guest on July-15-2021
-1

laravel delete multiple rows

$org->products()->whereIn('id', $ids)->delete()
Posted by: Guest on February-26-2021

Code answers related to "delete records from multiple tables in a single query laravel"

Browse Popular Code Answers by Language