nextcloud/tests/lib/AppFramework/Db
Thomas Citharel 1c0342af58 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 16:03:19 +00:00
..
EntityTest.php Fix reading blob data as resource 2022-07-25 16:03:19 +00:00
MapperTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
MapperTestUtility.php Bump doctrine/dbal from 2.12.0 to 3.0.0 2021-01-08 11:45:19 +01:00
QBMapperTest.php Fix psalm not running 2022-01-27 17:20:00 +01:00