AlterTableStatement represents an ALTER TABLE statement. # Maintenance note AlterTableStatement is NOT produced by the parser. Parser.Parse* methods return [AlterStatement] (defined in alter.go) with Type == AlterTypeTable. AlterTableStatement is retained only so that existing code that constructs
| 1582 | // stmt := tree.Statements[0].(*ast.AlterStatement) |
| 1583 | // tableName := stmt.Name // AlterStatement.Name holds the table name |
| 1584 | type AlterTableStatement struct { |
| 1585 | Table string |
| 1586 | Actions []AlterTableAction |
| 1587 | } |
| 1588 | |
| 1589 | func (a *AlterTableStatement) statementNode() {} |
| 1590 | func (a AlterTableStatement) TokenLiteral() string { return "ALTER TABLE" } |
nothing calls this directly
no outgoing calls
no test coverage detected