This commit is contained in:
2021-03-30 16:03:44 +08:00
parent b57ca5e9ea
commit 9f84636b6c
2 changed files with 267 additions and 262 deletions
+5 -4
View File
@@ -309,10 +309,11 @@ class ActiveQuery extends Component implements ISqlBuilder
}
/**
* @return bool
* @throws Exception
*/
/**
* @param bool $getSql
* @return string|bool
* @throws Exception
*/
public function delete($getSql = false): string|bool
{
$sql = $this->builder->delete();