diff options
author | Joas Schilling <coding@schilljs.com> | 2024-09-24 08:36:03 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-09-25 08:40:53 +0200 |
commit | abe82432cbc21c9d6c907cf3e393649501557876 (patch) | |
tree | dd5ab9c202b281e90816db7cbdad2c63a2433956 /lib/public | |
parent | 5bd1e2859456f445beedef7d1eb7f3e3a5a8c105 (diff) | |
download | nextcloud-server-abe82432cbc21c9d6c907cf3e393649501557876.tar.gz nextcloud-server-abe82432cbc21c9d6c907cf3e393649501557876.zip |
fix(querybuilder): Fix boolean type so that oracle handles boolean wellbackport/48215/stable30
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/DB/QueryBuilder/IQueryBuilder.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/DB/QueryBuilder/IQueryBuilder.php b/lib/public/DB/QueryBuilder/IQueryBuilder.php index 0c2aa4669c1..5e3e792d298 100644 --- a/lib/public/DB/QueryBuilder/IQueryBuilder.php +++ b/lib/public/DB/QueryBuilder/IQueryBuilder.php @@ -10,6 +10,7 @@ namespace OCP\DB\QueryBuilder; 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 */ |