Merge pull request #38016 from nextcloud/oracle-limit-workaround

fix: add workaround for oci and limit queries
This commit is contained in:
Daniel 2023-05-03 23:06:59 +02:00 committed by GitHub
commit db73534e09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}