This commit is contained in:
2021-11-11 03:26:59 +08:00
parent a58b5217a8
commit 1b4c7ea957
+1
View File
@@ -620,6 +620,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, T
}
[$change, $condition, $fields] = $this->separation();
if (!$this->isNewExample) {
var_dump($fields, $condition, $change);
return $this->updateInternal($fields, $condition, $change);
}
return $this->insert($change, $fields);