Skip to content

Commit b03bf32

Browse files
committed
bug: support union stmt in in_expr
1 parent 4a50802 commit b03bf32

11 files changed

Lines changed: 34 additions & 71 deletions

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-sql-parser",
3-
"version": "4.0.5",
3+
"version": "4.0.6",
44
"description": "simple node sql parser",
55
"main": "index.js",
66
"types": "types.d.ts",

pegjs/bigquery.pegjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ expr
675675
/ logic_operator_expr // support concatenation operator || and &&
676676
/ or_expr
677677
/ unary_expr
678-
/ select_stmt
678+
/ union_stmt
679679
/ array_expr
680680

681681
parentheses_list_expr

pegjs/db2.pegjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,7 @@ expr
15321532
= logic_operator_expr // support concatenation operator || and &&
15331533
/ or_expr
15341534
/ unary_expr
1535-
/ select_stmt
1535+
/ union_stmt
15361536

15371537
logic_operator_expr
15381538
= head:primary tail:(__ LOGIC_OPERATOR __ primary)+ {

pegjs/flinksql.pegjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2012,7 +2012,7 @@ expr
20122012
= logic_operator_expr // support concatenation operator || and &&
20132013
/ or_expr
20142014
/ unary_expr
2015-
/ select_stmt
2015+
/ union_stmt
20162016

20172017
logic_operator_expr
20182018
= head:primary tail:(__ LOGIC_OPERATOR __ primary)+ {

pegjs/hive.pegjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1540,7 +1540,7 @@ expr
15401540
= logic_operator_expr // support concatenation operator || and &&
15411541
/ or_expr
15421542
/ unary_expr
1543-
/ select_stmt
1543+
/ union_stmt
15441544

15451545
logic_operator_expr
15461546
= head:primary tail:(__ LOGIC_OPERATOR __ primary)+ {

pegjs/mariadb.pegjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1649,7 +1649,7 @@ expr
16491649
= logic_operator_expr // support concatenation operator || and &&
16501650
/ or_expr
16511651
/ unary_expr
1652-
/ select_stmt
1652+
/ union_stmt
16531653

16541654
logic_operator_expr
16551655
= head:primary tail:(__ LOGIC_OPERATOR __ primary)+ {

pegjs/mysql.pegjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1973,7 +1973,7 @@ expr
19731973
= logic_operator_expr // support concatenation operator || and &&
19741974
/ or_expr
19751975
/ unary_expr
1976-
/ select_stmt
1976+
/ union_stmt
19771977

19781978
logic_operator_expr
19791979
= head:primary tail:(__ LOGIC_OPERATOR __ primary)+ {

pegjs/postgresql.pegjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2448,7 +2448,7 @@ expr
24482448
= logic_operator_expr // support concatenation operator || and &&
24492449
/ or_expr
24502450
/ unary_expr
2451-
/ select_stmt
2451+
/ union_stmt
24522452

24532453
logic_operator_expr
24542454
= head:primary tail:(__ LOGIC_OPERATOR __ primary)+ {

pegjs/sqlite.pegjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1579,6 +1579,7 @@ expr
15791579
= logic_operator_expr // support concatenation operator || and &&
15801580
/ or_expr
15811581
/ unary_expr
1582+
/ union_stmt
15821583

15831584
logic_operator_expr
15841585
= head:primary tail:(__ LOGIC_OPERATOR __ primary)+ {

pegjs/transactsql.pegjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1790,7 +1790,7 @@ expr
17901790
= logic_operator_expr // support concatenation operator || and &&
17911791
/ or_expr
17921792
/ unary_expr
1793-
/ select_stmt
1793+
/ union_stmt
17941794

17951795
logic_operator_expr
17961796
= head:primary tail:(__ LOGIC_OPERATOR __ primary)+ {

0 commit comments

Comments
 (0)