File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5555 ' LIMIT' : true ,
5656 ' LOW_PRIORITY' : true , // for lock table
5757
58+ ' MINUS' : true ,
5859 ' NOT' : true ,
5960 ' NULL' : true ,
6061
@@ -256,6 +257,7 @@ set_op
256257 = u :(KW_UNION / KW_INTERSECT / KW_EXCEPT ) __ s :(KW_ALL / KW_DISTINCT )? {
257258 return s ? ` ${ u .toLowerCase ()} ${ s .toLowerCase ()} ` : ` ${ u .toLowerCase ()} `
258259 }
260+ / KW_MINUS { return ' minus' }
259261
260262union_stmt
261263 = head :select_stmt tail :(__ set_op __ select_stmt )* __ ob : order_by_clause ? __ l :limit_clause ? {
@@ -2299,6 +2301,7 @@ KW_JOIN = "JOIN"i !ident_start
22992301KW_OUTER = "OUTER" i ! ident_start
23002302KW_OVER = "OVER" i ! ident_start
23012303KW_UNION = "UNION" i ! ident_start { return ' UNION' ; }
2304+ KW_MINUS = "MINUS" i ! ident_start { return ' MINUS' ; }
23022305KW_INTERSECT = "INTERSECT" i ! ident_start { return ' INTERSECT' ; }
23032306KW_EXCEPT = "EXCEPT" i ! ident_start { return ' EXCEPT' ; }
23042307KW_VALUES = "VALUES" i ! ident_start
You can’t perform that action at this time.
0 commit comments