diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-08-02 20:54:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-02 20:54:58 +0200 |
commit | c40352c03071740f51544f0fcd7fc787c5c3f27b (patch) | |
tree | d8b49e4669bf204f9ff72aead7d95b9f70d60b47 /lib/public | |
parent | a0939f78b3c3e3686dfe897123304066e5f9bf4f (diff) | |
parent | 78412fda9c0af263ecd6454fd52d72a040debe2f (diff) | |
download | nextcloud-server-c40352c03071740f51544f0fcd7fc787c5c3f27b.tar.gz nextcloud-server-c40352c03071740f51544f0fcd7fc787c5c3f27b.zip |
Merge pull request #5816 from nextcloud/fix-oracle
Fix oracle
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/DB/QueryBuilder/IExpressionBuilder.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/public/DB/QueryBuilder/IExpressionBuilder.php b/lib/public/DB/QueryBuilder/IExpressionBuilder.php index c123875b803..eab93b52f8a 100644 --- a/lib/public/DB/QueryBuilder/IExpressionBuilder.php +++ b/lib/public/DB/QueryBuilder/IExpressionBuilder.php @@ -305,6 +305,24 @@ interface IExpressionBuilder { */ public function notIn($x, $y, $type = null); + /** + * Creates a $x = '' statement, because Oracle needs a different check + * + * @param string $x The field in string format to be inspected by the comparison. + * @return string + * @since 13.0.0 + */ + public function emptyString($x); + + /** + * Creates a `$x <> ''` statement, because Oracle needs a different check + * + * @param string $x The field in string format to be inspected by the comparison. + * @return string + * @since 13.0.0 + */ + public function nonEmptyString($x); + /** * Creates a bitwise AND comparison |