diff options
author | Robin Appelman <robin@icewind.nl> | 2022-06-20 17:53:20 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2022-08-16 12:07:09 +0200 |
commit | 9b52663a81ef4db0aa458ed6b34dfaab872e3243 (patch) | |
tree | 922780103997813d07b63f86c0964a7a75d66bb8 /lib/private/DB/QueryBuilder/ExpressionBuilder/PgSqlExpressionBuilder.php | |
parent | cb97e8f15c75cc46e345ebfc79dcad1b9c48bd01 (diff) | |
download | nextcloud-server-9b52663a81ef4db0aa458ed6b34dfaab872e3243.tar.gz nextcloud-server-9b52663a81ef4db0aa458ed6b34dfaab872e3243.zip |
Revert "make expression build return IQueryFunction instead of string"
This reverts commit 813b50ed428a8bc36817d19c84444e96dbe3b668.
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/DB/QueryBuilder/ExpressionBuilder/PgSqlExpressionBuilder.php')
-rw-r--r-- | lib/private/DB/QueryBuilder/ExpressionBuilder/PgSqlExpressionBuilder.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/DB/QueryBuilder/ExpressionBuilder/PgSqlExpressionBuilder.php b/lib/private/DB/QueryBuilder/ExpressionBuilder/PgSqlExpressionBuilder.php index cbebe97ae87..0fba5363a28 100644 --- a/lib/private/DB/QueryBuilder/ExpressionBuilder/PgSqlExpressionBuilder.php +++ b/lib/private/DB/QueryBuilder/ExpressionBuilder/PgSqlExpressionBuilder.php @@ -52,9 +52,9 @@ class PgSqlExpressionBuilder extends ExpressionBuilder { /** * @inheritdoc */ - public function iLike($x, $y, $type = null): IQueryFunction { + public function iLike($x, $y, $type = null): string { $x = $this->helper->quoteColumnName($x); $y = $this->helper->quoteColumnName($y); - return new QueryFunction($this->expressionBuilder->comparison($x, 'ILIKE', $y)); + return $this->expressionBuilder->comparison($x, 'ILIKE', $y); } } |