diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-11-05 16:31:56 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-11-05 16:41:30 +0100 |
commit | d514200b560c035d71304b54439c4b917de74069 (patch) | |
tree | 43551afaea9d7fb7fea738c0bf44aa5d5502fe06 /lib/public | |
parent | 556fabf15d2146e7bf8c64b5575305d042e736d7 (diff) | |
download | nextcloud-server-d514200b560c035d71304b54439c4b917de74069.tar.gz nextcloud-server-d514200b560c035d71304b54439c4b917de74069.zip |
Add escapeLikeParameter to IDBConnection
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/idbconnection.php | 9 |
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); } |