mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-27 20:04:23 +01:00
sqlite3-parser: box the having clause in GroupBy
This commit is contained in:
@@ -731,7 +731,7 @@ nulls(A) ::= . {A = None;}
|
||||
|
||||
%type groupby_opt {Option<GroupBy>}
|
||||
groupby_opt(A) ::= . {A = None;}
|
||||
groupby_opt(A) ::= GROUP BY nexprlist(X) having_opt(Y). {A = Some(GroupBy{ exprs: X, having: Y });}
|
||||
groupby_opt(A) ::= GROUP BY nexprlist(X) having_opt(Y). {A = Some(GroupBy{ exprs: X, having: Y.map(Box::new) });}
|
||||
|
||||
%type having_opt {Option<Expr>}
|
||||
having_opt(A) ::= . {A = None;}
|
||||
|
||||
Reference in New Issue
Block a user