Skip to content

Commit 8c5c2ae

Browse files
committed
fix(querybuilder): Fix boolean type so that oracle handles boolean well
Signed-off-by: Joas Schilling <[email protected]>
1 parent ccd4c9d commit 8c5c2ae

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/public/DB/QueryBuilder/IQueryBuilder.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
use Doctrine\DBAL\ArrayParameterType;
1111
use Doctrine\DBAL\Connection;
1212
use Doctrine\DBAL\ParameterType;
13+
use Doctrine\DBAL\Types\Types;
1314
use OCP\DB\Exception;
1415
use OCP\DB\IResult;
1516
use OCP\IDBConnection;
@@ -28,7 +29,7 @@ interface IQueryBuilder {
2829
/**
2930
* @since 9.0.0
3031
*/
31-
public const PARAM_BOOL = ParameterType::BOOLEAN;
32+
public const PARAM_BOOL = Types::BOOLEAN;
3233
/**
3334
* @since 9.0.0
3435
*/

0 commit comments

Comments
 (0)