summaryrefslogtreecommitdiffstats
path: root/lib/private/db/querybuilder/querybuilder.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/db/querybuilder/querybuilder.php')
-rw-r--r--lib/private/db/querybuilder/querybuilder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/db/querybuilder/querybuilder.php b/lib/private/db/querybuilder/querybuilder.php
index 38c3966d9a0..1a1408876f1 100644
--- a/lib/private/db/querybuilder/querybuilder.php
+++ b/lib/private/db/querybuilder/querybuilder.php
@@ -65,7 +65,7 @@ class QueryBuilder implements IQueryBuilder {
* @return \OCP\DB\QueryBuilder\IExpressionBuilder
*/
public function expr() {
- return $this->connection->getExpressionBuilder();
+ return new ExpressionBuilder($this->connection);
}
/**