summaryrefslogtreecommitdiffstats
path: root/lib/public/db
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-22 19:46:37 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-22 19:46:37 +0100
commit4537eaac41dc9ddf7e73302935a61219d60b8f52 (patch)
tree9f12d763e98495552d27ba1354f9f7d7131c4ef8 /lib/public/db
parentd45314beda902048fa200ad9509a783d28b3f369 (diff)
downloadnextcloud-server-4537eaac41dc9ddf7e73302935a61219d60b8f52.tar.gz
nextcloud-server-4537eaac41dc9ddf7e73302935a61219d60b8f52.zip
Add ILIKE support to querybuilder
Diffstat (limited to 'lib/public/db')
-rw-r--r--lib/public/db/querybuilder/iexpressionbuilder.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/public/db/querybuilder/iexpressionbuilder.php b/lib/public/db/querybuilder/iexpressionbuilder.php
index 4b53a0e0b8b..0ed15bf4398 100644
--- a/lib/public/db/querybuilder/iexpressionbuilder.php
+++ b/lib/public/db/querybuilder/iexpressionbuilder.php
@@ -264,6 +264,19 @@ interface IExpressionBuilder {
public function notLike($x, $y, $type = null);
/**
+ * Creates a ILIKE() comparison expression with the given arguments.
+ *
+ * @param string $x Field in string format to be inspected by ILIKE() comparison.
+ * @param mixed $y Argument to be used in ILIKE() comparison.
+ * @param mixed|null $type one of the IQueryBuilder::PARAM_* constants
+ * required when comparing text fields for oci compatibility
+ *
+ * @return string
+ * @since 9.0.0
+ */
+ public function iLike($x, $y, $type = null);
+
+ /**
* Creates a IN () comparison expression with the given arguments.
*
* @param string $x The field in string format to be inspected by IN() comparison.