diff options
author | Vitor Mattos <vitor@php.rio> | 2022-01-05 12:00:16 -0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-01-07 09:54:41 +0100 |
commit | f732cf1b040f39bb2922004e80972314cf2a28e2 (patch) | |
tree | 0c000f3bc2a061809c4ab5ebfc3531fda7d9631d /lib | |
parent | 814924a7872a68ee265bce5e4946f72925417f00 (diff) | |
download | nextcloud-server-f732cf1b040f39bb2922004e80972314cf2a28e2.tar.gz nextcloud-server-f732cf1b040f39bb2922004e80972314cf2a28e2.zip |
Unit tests
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/DB/QueryBuilder/FunctionBuilder/PgSqlFunctionBuilder.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/DB/QueryBuilder/FunctionBuilder/PgSqlFunctionBuilder.php b/lib/private/DB/QueryBuilder/FunctionBuilder/PgSqlFunctionBuilder.php index 8ba2a52aebf..444f6aa83a4 100644 --- a/lib/private/DB/QueryBuilder/FunctionBuilder/PgSqlFunctionBuilder.php +++ b/lib/private/DB/QueryBuilder/FunctionBuilder/PgSqlFunctionBuilder.php @@ -32,7 +32,7 @@ class PgSqlFunctionBuilder extends FunctionBuilder { $args = func_get_args(); $list = []; foreach ($args as $item) { - $list[] = $this->helper->quoteColumnName($item); + $list[] = $this->queryBuilder->expr()->castColumn($item, IQueryBuilder::PARAM_STR); } return new QueryFunction(sprintf('(%s)', implode(' || ', $list))); } |