diff --git a/Collection.php b/Collection.php index c260ebe..f4a7fed 100644 --- a/Collection.php +++ b/Collection.php @@ -186,7 +186,6 @@ class Collection extends AbstractCollection $model = $this->getModel(); if ($model->hasPrimary()) { $key = $model->getPrimary(); - return $model::query()->whereIn($key, $this->column($key))->delete(); } throw new Exception('Must set primary key. if you wante delete');