Cleanup parser statements, add delete and insert statement, add TASKS.md for tracking tasks

This commit is contained in:
Pablu
2025-12-02 17:06:27 +01:00
parent f6ca16b1f0
commit e07bb9e496
10 changed files with 438 additions and 266 deletions

View File

@@ -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() {}