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