DropStatement represents a DROP statement for tables, views, indexes, etc. Syntax: DROP object_type [IF EXISTS] name [CASCADE|RESTRICT]
| 1800 | // DropStatement represents a DROP statement for tables, views, indexes, etc. |
| 1801 | // Syntax: DROP object_type [IF EXISTS] name [CASCADE|RESTRICT] |
| 1802 | type DropStatement struct { |
| 1803 | ObjectType string // TABLE, VIEW, MATERIALIZED VIEW, INDEX, etc. |
| 1804 | IfExists bool |
| 1805 | Names []string // Can drop multiple objects |
| 1806 | CascadeType string // CASCADE, RESTRICT, or empty |
| 1807 | } |
| 1808 | |
| 1809 | func (d *DropStatement) statementNode() {} |
| 1810 | func (d DropStatement) TokenLiteral() string { return "DROP " + d.ObjectType } |
nothing calls this directly
no outgoing calls
no test coverage detected