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