diff --git a/SqlBuilder.php b/SqlBuilder.php index 2d75163..abeffe2 100644 --- a/SqlBuilder.php +++ b/SqlBuilder.php @@ -76,7 +76,6 @@ class SqlBuilder extends Component public function update(array $attributes): bool|string { $conditions = $this->query; - $this->query = []; $data = $this->__updateBuilder($this->makeParams($attributes)); foreach ($conditions as $condition) { $this->query->pushParam($condition);