From 82cbe58f84d6b9f17b7f692cf8da0a3e5e911a6f Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Fri, 30 Jan 2026 17:34:03 +0100 Subject: [PATCH] refactor(QueryBuilder): Port away from deprecated execute method Signed-off-by: Daniel Kesselberg --- lib/Tools/Db/ExtendedQueryBuilder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Tools/Db/ExtendedQueryBuilder.php b/lib/Tools/Db/ExtendedQueryBuilder.php index 4dbd4d05..3e7d16d1 100644 --- a/lib/Tools/Db/ExtendedQueryBuilder.php +++ b/lib/Tools/Db/ExtendedQueryBuilder.php @@ -1004,7 +1004,7 @@ private function parseSimpleSelectSql( * @throws RowNotFoundException */ public function getRow(callable $method, string $object = '', array $params = []): IQueryRow { - $cursor = $this->execute(); + $cursor = $this->executeQuery(); $data = $cursor->fetch(); $cursor->closeCursor(); @@ -1025,7 +1025,7 @@ public function getRow(callable $method, string $object = '', array $params = [] */ public function getRows(callable $method, string $object = '', array $params = []): array { $rows = []; - $cursor = $this->execute(); + $cursor = $this->executeQuery(); while ($data = $cursor->fetch()) { try { $rows[] = $method($data, $this, $object, $params);