mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
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>
This commit is contained in:
parent
08e1bcd2c9
commit
eecdb62e92
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue