Skip to content

Commit 9b7491e

Browse files
add bitwise not operator (#38316)
1 parent c77fcbe commit 9b7491e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Database/Query/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ class Builder
195195
public $operators = [
196196
'=', '<', '>', '<=', '>=', '<>', '!=', '<=>',
197197
'like', 'like binary', 'not like', 'ilike',
198-
'&', '|', '^', '<<', '>>',
198+
'&', '|', '^', '<<', '>>', '&~',
199199
'rlike', 'not rlike', 'regexp', 'not regexp',
200200
'~', '~*', '!~', '!~*', 'similar to',
201201
'not similar to', 'not ilike', '~~*', '!~~*',

0 commit comments

Comments
 (0)