summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-01-05 15:52:23 +0100
committerGitHub <noreply@github.com>2017-01-05 15:52:23 +0100
commiteeb5ea85f7a16e37a6a37b0af6d5b94f03ca0d0e (patch)
treef5b79091b68580bb8427445c324d8edaa73cd7f1 /lib/public
parent64097aece923e03b59aa7bb45b0f2995321346bc (diff)
parent22e74cf5ac65dde9a6154fcc32a89ba7231cb01f (diff)
downloadnextcloud-server-eeb5ea85f7a16e37a6a37b0af6d5b94f03ca0d0e.tar.gz
nextcloud-server-eeb5ea85f7a16e37a6a37b0af6d5b94f03ca0d0e.zip
Merge pull request #2817 from nextcloud/fix-invalid-share-perms
Fix invalid share perms
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/DB/QueryBuilder/IExpressionBuilder.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/public/DB/QueryBuilder/IExpressionBuilder.php b/lib/public/DB/QueryBuilder/IExpressionBuilder.php
index 8164c738ca5..c123875b803 100644
--- a/lib/public/DB/QueryBuilder/IExpressionBuilder.php
+++ b/lib/public/DB/QueryBuilder/IExpressionBuilder.php
@@ -305,6 +305,27 @@ interface IExpressionBuilder {
*/
public function notIn($x, $y, $type = null);
+
+ /**
+ * Creates a bitwise AND comparison
+ *
+ * @param string|ILiteral $x The field or value to check
+ * @param int $y Bitmap that must be set
+ * @return IQueryFunction
+ * @since 12.0.0
+ */
+ public function bitwiseAnd($x, $y);
+
+ /**
+ * Creates a bitwise OR comparison
+ *
+ * @param string|ILiteral $x The field or value to check
+ * @param int $y Bitmap that must be set
+ * @return IQueryFunction
+ * @since 12.0.0
+ */
+ public function bitwiseOr($x, $y);
+
/**
* Quotes a given input parameter.
*