diff options
author | Joas Schilling <coding@schilljs.com> | 2022-01-04 08:50:10 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-01-04 09:15:17 +0100 |
commit | 46ad6fa3c7ff8a2c6ab0d7ff583cab19ba04b146 (patch) | |
tree | daea2f7b774846d187bd8f255851c7dcec96f1cb /lib/private/DB/QueryBuilder/QueryBuilder.php | |
parent | e3e73a12ef42b45f773da7e18090938ed3ff1ef3 (diff) | |
download | nextcloud-server-46ad6fa3c7ff8a2c6ab0d7ff583cab19ba04b146.tar.gz nextcloud-server-46ad6fa3c7ff8a2c6ab0d7ff583cab19ba04b146.zip |
Add a test with integer
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/DB/QueryBuilder/QueryBuilder.php')
-rw-r--r-- | lib/private/DB/QueryBuilder/QueryBuilder.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/DB/QueryBuilder/QueryBuilder.php b/lib/private/DB/QueryBuilder/QueryBuilder.php index e247d1a8c00..a362ff8016e 100644 --- a/lib/private/DB/QueryBuilder/QueryBuilder.php +++ b/lib/private/DB/QueryBuilder/QueryBuilder.php @@ -155,16 +155,16 @@ class QueryBuilder implements IQueryBuilder { */ public function func() { if ($this->connection->getDatabasePlatform() instanceof OraclePlatform) { - return new OCIFunctionBuilder($this->connection, $this->helper); + return new OCIFunctionBuilder($this->connection, $this, $this->helper); } if ($this->connection->getDatabasePlatform() instanceof SqlitePlatform) { - return new SqliteFunctionBuilder($this->connection, $this->helper); + return new SqliteFunctionBuilder($this->connection, $this, $this->helper); } if ($this->connection->getDatabasePlatform() instanceof PostgreSQL94Platform) { - return new PgSqlFunctionBuilder($this->connection, $this->helper); + return new PgSqlFunctionBuilder($this->connection, $this, $this->helper); } - return new FunctionBuilder($this->connection, $this->helper); + return new FunctionBuilder($this->connection, $this, $this->helper); } /** |