delete multiple row in laravel

64

delete multiple row in laravel -

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

DB::table('users')->where('votes', '>', 100)->delete();

laravel delete multiple rows -

$org->products()->whereIn('id', $ids)->delete()

Comments

Submit
0 Comments