add more join types
This commit is contained in:
parent
b4adfa5b74
commit
177901816f
|
@ -817,8 +817,12 @@ join_clause:
|
|||
opt_join_type:
|
||||
INNER { $$ = kJoinInner; }
|
||||
| OUTER { $$ = kJoinOuter; }
|
||||
| LEFT OUTER { $$ = kJoinLeftOuter; }
|
||||
| RIGHT OUTER { $$ = kJoinRightOuter; }
|
||||
| LEFT { $$ = kJoinLeft; }
|
||||
| RIGHT { $$ = kJoinRight; }
|
||||
| CROSS { $$ = kJoinCross; }
|
||||
| NATURAL { $$ = kJoinNatural; }
|
||||
| /* empty, default */ { $$ = kJoinInner; }
|
||||
;
|
||||
|
||||
|
|
|
@ -47,6 +47,10 @@ namespace hsql {
|
|||
kJoinOuter,
|
||||
kJoinLeft,
|
||||
kJoinRight,
|
||||
kJoinLeftOuter,
|
||||
kJoinRightOuter,
|
||||
kJoinCross,
|
||||
kJoinNatural
|
||||
};
|
||||
|
||||
// Definition of a join construct.
|
||||
|
|
Loading…
Reference in New Issue