Add support for INSERT statements.

This commit is contained in:
zer0sub 2019-04-07 09:58:12 +02:00
parent d84deb8745
commit 599a8c537a
15 changed files with 586 additions and 277 deletions

View file

@ -8,6 +8,15 @@ type SelectStatementTable struct {
alias string
}
// Returns the tableName's name in the database
func (t *SelectStatementTable) SchemaName() string {
return ""
}
func (s *SelectStatementTable) TableName() string {
return s.alias
}
func (s *SelectStatementTable) Columns() []Column {
return s.columns
}