|
@@ -22,6 +22,10 @@ describe('SQLishParser', function () {
|
|
|
'created >= %s', // Python-style
|
|
|
'created >= $1', // Rails-style
|
|
|
'@@ to_tsquery', // Postgres full-text search
|
|
|
+ 'flags & %s)', // Bitwise AND
|
|
|
+ 'flags | %s)', // Bitwise OR
|
|
|
+ 'flags ^ %s)', // Bitwise XOR
|
|
|
+ 'flags ~ %s)', // Bitwise NOT
|
|
|
])('Parses %s', sql => {
|
|
|
expect(() => {
|
|
|
parser.parse(sql);
|