diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-01-05 15:52:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-05 15:52:23 +0100 |
commit | eeb5ea85f7a16e37a6a37b0af6d5b94f03ca0d0e (patch) | |
tree | f5b79091b68580bb8427445c324d8edaa73cd7f1 /lib/public | |
parent | 64097aece923e03b59aa7bb45b0f2995321346bc (diff) | |
parent | 22e74cf5ac65dde9a6154fcc32a89ba7231cb01f (diff) | |
download | nextcloud-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.php | 21 |
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. * |