aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2024-08-23 17:08:58 +0200
committerGitHub <noreply@github.com>2024-08-23 17:08:58 +0200
commit3e7695235c0c891515b1318df0d3199c4a97b9cc (patch)
treed9f6454a11b75b31ac52543aa1629cb7cc12522f /lib
parent44aa4836aa438e8696d186ea217c0aabdea8c6ac (diff)
parent658d2f7ea1f35ddd3c5d4a2c3f80d822ef5144c8 (diff)
downloadnextcloud-server-3e7695235c0c891515b1318df0d3199c4a97b9cc.tar.gz
nextcloud-server-3e7695235c0c891515b1318df0d3199c4a97b9cc.zip
Merge pull request #45457 from nextcloud/qb-escape-like
expose escapeLikeParameter trough query builder
Diffstat (limited to 'lib')
-rw-r--r--lib/private/DB/QueryBuilder/QueryBuilder.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/DB/QueryBuilder/QueryBuilder.php b/lib/private/DB/QueryBuilder/QueryBuilder.php
index 4c4786f02b6..b5ee37e3ddf 100644
--- a/lib/private/DB/QueryBuilder/QueryBuilder.php
+++ b/lib/private/DB/QueryBuilder/QueryBuilder.php
@@ -1336,4 +1336,8 @@ class QueryBuilder implements IQueryBuilder {
return $this->helper->quoteColumnName($alias);
}
+
+ public function escapeLikeParameter(string $parameter): string {
+ return $this->connection->escapeLikeParameter($parameter);
+ }
}