From 9b6d3480f379dd5f760c10947b63906b0068d8b3 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 24 Sep 2024 08:36:03 +0200 Subject: [PATCH] fix(querybuilder): Fix boolean type so that oracle handles boolean well Signed-off-by: Joas Schilling --- lib/public/DB/QueryBuilder/IQueryBuilder.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/public/DB/QueryBuilder/IQueryBuilder.php b/lib/public/DB/QueryBuilder/IQueryBuilder.php index 0c2aa4669c1ce..5e3e792d29825 100644 --- a/lib/public/DB/QueryBuilder/IQueryBuilder.php +++ b/lib/public/DB/QueryBuilder/IQueryBuilder.php @@ -10,6 +10,7 @@ use Doctrine\DBAL\ArrayParameterType; use Doctrine\DBAL\Connection; use Doctrine\DBAL\ParameterType; +use Doctrine\DBAL\Types\Types; use OCP\DB\Exception; use OCP\DB\IResult; use OCP\IDBConnection; @@ -28,7 +29,7 @@ interface IQueryBuilder { /** * @since 9.0.0 */ - public const PARAM_BOOL = ParameterType::BOOLEAN; + public const PARAM_BOOL = Types::BOOLEAN; /** * @since 9.0.0 */