Cleanup parser statements, add delete and insert statement, add TASKS.md for tracking tasks
This commit is contained in:
12
sql/ast.go
12
sql/ast.go
@@ -33,5 +33,17 @@ type SelectStatement struct {
|
||||
Fields []string
|
||||
}
|
||||
|
||||
type InsertStatement struct {
|
||||
Table string
|
||||
Values map[string]any
|
||||
}
|
||||
|
||||
type DeleteStatement struct {
|
||||
Table string
|
||||
Extra []string
|
||||
}
|
||||
|
||||
func (_ *CreateTableStatement) isEnumValue() {}
|
||||
func (_ *SelectStatement) isEnumValue() {}
|
||||
func (_ *InsertStatement) isEnumValue() {}
|
||||
func (_ *DeleteStatement) isEnumValue() {}
|
||||
|
||||
Reference in New Issue
Block a user