eee
This commit is contained in:
@@ -76,7 +76,6 @@ class SqlBuilder extends Component
|
|||||||
public function update(array $attributes): bool|string
|
public function update(array $attributes): bool|string
|
||||||
{
|
{
|
||||||
$conditions = $this->query;
|
$conditions = $this->query;
|
||||||
$this->query = [];
|
|
||||||
$data = $this->__updateBuilder($this->makeParams($attributes));
|
$data = $this->__updateBuilder($this->makeParams($attributes));
|
||||||
foreach ($conditions as $condition) {
|
foreach ($conditions as $condition) {
|
||||||
$this->query->pushParam($condition);
|
$this->query->pushParam($condition);
|
||||||
|
|||||||
Reference in New Issue
Block a user