This commit is contained in:
2021-02-25 18:02:00 +08:00
parent 2b5819d3f4
commit 9271ea189e
+1 -1
View File
@@ -51,7 +51,7 @@ class SqlBuilder extends Component
public function update(array $attributes): bool|array
{
[$string, $array] = $this->builderParams($attributes);
if (empty($string) || empty($array)) {
if (empty($string)) {
return $this->addError('None data update.');
}