summaryrefslogtreecommitdiffstats
path: root/lib/public/idbconnection.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2015-11-10 09:45:00 +0100
committerRobin Appelman <robin@icewind.nl>2015-11-10 09:45:00 +0100
commit960c8cb5bce4449834cf6373601e7555743cb89f (patch)
treed949adb7a52e0faad89a343dd23aa78e9dff210a /lib/public/idbconnection.php
parentf09db6451eca5684536e8046ec15b7127217e478 (diff)
parentd36e1bbab23253673339a2b1b6d81a906d83fa5b (diff)
downloadnextcloud-server-960c8cb5bce4449834cf6373601e7555743cb89f.tar.gz
nextcloud-server-960c8cb5bce4449834cf6373601e7555743cb89f.zip
Merge pull request #16604 from owncloud/cache-escape-like
escape like parameter in cache operations
Diffstat (limited to 'lib/public/idbconnection.php')
-rw-r--r--lib/public/idbconnection.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/idbconnection.php b/lib/public/idbconnection.php
index 6a4373583fa..945ca142163 100644
--- a/lib/public/idbconnection.php
+++ b/lib/public/idbconnection.php
@@ -206,4 +206,13 @@ interface IDBConnection {
* @since 8.0.0
*/
public function tableExists($table);
+
+ /**
+ * Escape a parameter to be used in a LIKE query
+ *
+ * @param string $param
+ * @return string
+ * @since 9.0.0
+ */
+ public function escapeLikeParameter($param);
}