nextcloud/lib/public/AppFramework/Db
Thomas Citharel 618bbb313c Fix reading blob data as resource
PostgreSQL returns data as resource when using IQueryBuilder::PARAM_LOB
(which is used for QBMapper).

Previously we just converted this resource using settype, which produced
things like "Resource id #14" instead of the actual resource data.

Now we read the stream correctly if the returned data is a resource

See context at #22472

Fixes #22439

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-07-25 15:59:36 +00:00
..
DoesNotExistException.php Update php licenses 2021-06-04 22:02:41 +02:00
Entity.php Fix reading blob data as resource 2022-07-25 15:59:36 +00:00
IMapperException.php Update php licenses 2021-06-04 22:02:41 +02:00
Mapper.php Update php licenses 2021-06-04 22:02:41 +02:00
MultipleObjectsReturnedException.php Update php licenses 2021-06-04 22:02:41 +02:00
QBMapper.php Add a metadata service to store file metadata 2022-04-13 14:06:29 +02:00
TTransactional.php Add Transactional trait for atomic DB operations 2022-02-17 09:58:41 +01:00