Add SQL LIVE query ast

This commit is contained in:
Tobie Morgan Hitchcock 2016-10-14 22:21:17 +01:00
parent a4520ca669
commit 8ebc77465c

View file

@ -74,6 +74,17 @@ type InfoStatement struct {
// Normal
// --------------------------------------------------
// LiveStatement represents a SQL LIVE statement.
type LiveStatement struct {
KV string `cork:"-" codec:"-"`
NS string `cork:"-" codec:"-"`
DB string `cork:"-" codec:"-"`
Expr []*Field `cork:"expr" codec:"expr"`
What []Expr `cork:"what" codec:"what"`
Cond []Expr `cork:"cond" codec:"cond"`
Echo Token `cork:"echo" codec:"echo"`
}
// SelectStatement represents a SQL SELECT statement.
type SelectStatement struct {
KV string `cork:"-" codec:"-"`