diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2023-05-02 11:12:48 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2023-05-02 14:26:28 +0200 |
commit | eecdb62e92ec1ccb9d1675ecd402d10c3576f4f7 (patch) | |
tree | aba84d9b08871ee13968ef41e915f31db3b90688 /lib/public/AppFramework | |
parent | 08e1bcd2c969bb85c12af8b0286eb8e93b2adbb5 (diff) | |
download | nextcloud-server-eecdb62e92ec1ccb9d1675ecd402d10c3576f4f7.tar.gz nextcloud-server-eecdb62e92ec1ccb9d1675ecd402d10c3576f4f7.zip |
fix: add workaround for oci and limit queries
DBAL uses a helper column "doctrine_rownum" for top-n queries
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib/public/AppFramework')
-rw-r--r-- | lib/public/AppFramework/Db/QBMapper.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/public/AppFramework/Db/QBMapper.php b/lib/public/AppFramework/Db/QBMapper.php index cbe3d39d4d7..57b996b2c0f 100644 --- a/lib/public/AppFramework/Db/QBMapper.php +++ b/lib/public/AppFramework/Db/QBMapper.php @@ -317,6 +317,7 @@ abstract class QBMapper { * @since 14.0.0 */ protected function mapRowToEntity(array $row): Entity { + unset($row['DOCTRINE_ROWNUM']); // remove doctrine/dbal helper column return \call_user_func($this->entityClass .'::fromRow', $row); } |