qqq
This commit is contained in:
+1
-1
@@ -209,8 +209,8 @@ class Command extends Component
|
|||||||
*/
|
*/
|
||||||
private function error(Throwable $throwable): bool
|
private function error(Throwable $throwable): bool
|
||||||
{
|
{
|
||||||
error('mysql', [$throwable]);
|
|
||||||
error($this->sql . '.' . json_encode($this->params, JSON_UNESCAPED_UNICODE));
|
error($this->sql . '.' . json_encode($this->params, JSON_UNESCAPED_UNICODE));
|
||||||
|
error(throwable($throwable), []);
|
||||||
return addError($throwable->getMessage(), 'mysql');
|
return addError($throwable->getMessage(), 'mysql');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -138,7 +138,7 @@ class SqlBuilder extends Component
|
|||||||
*/
|
*/
|
||||||
public function delete(): string
|
public function delete(): string
|
||||||
{
|
{
|
||||||
return 'DELETE FROM ' . $this->query->from . ' WHERE ' . $this->_prefix();
|
return 'DELETE FROM ' . $this->query->from . $this->_prefix();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user