This commit is contained in:
2023-04-16 02:46:54 +08:00
parent d22955233c
commit 0bf69d576d
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ class SqlBuilder extends Component
private function __updateBuilder(array $string): string|bool
{
if (empty($string)) {
return $this->logger->addError('None data update.');
return \Kiri::getLogger()->addError('None data update.');
}
return 'UPDATE ' . $this->query->from . ' SET ' . implode(',', $string) . $this->_prefix();