mysql param types, async search, bugfix

This commit is contained in:
2023-01-20 12:16:18 +01:00
parent 92c78356ed
commit 424a945fa6
8 changed files with 90 additions and 36 deletions

View File

@@ -138,7 +138,7 @@ class DatabaseEntityQuery extends Select {
}
}
public function execute(): DatabaseEntity|array|null {
public function execute(): DatabaseEntity|array|null|false {
if ($this->logVerbose) {
$params = [];
@@ -148,7 +148,7 @@ class DatabaseEntityQuery extends Select {
$res = parent::execute();
if ($res === null || $res === false) {
return null;
return $res;
}
if ($this->resultType === SQL::FETCH_ALL) {