File tree Expand file tree Collapse file tree 6 files changed +2353
-2276
lines changed
Expand file tree Collapse file tree 6 files changed +2353
-2276
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ this is an oracle sql parser. ref: https://docs.oracle.com/en/database/oracle/or
1515| Create table| Relational table| :heavy_check_mark : | :heavy_check_mark : |
1616| Create index| Relational table| :heavy_check_mark : | |
1717| Drop table| -| :heavy_check_mark : | :heavy_check_mark : |
18+ | Drop index| -| :heavy_check_mark : | :heavy_check_mark : |
1819
1920## usage
2021``` go
Original file line number Diff line number Diff line change @@ -9,6 +9,11 @@ type TableName struct {
99 Table * element.Identifier
1010}
1111
12+ type IndexName struct {
13+ Schema * element.Identifier
14+ Index * element.Identifier
15+ }
16+
1217type Collation struct {
1318 Name * element.Identifier
1419}
Original file line number Diff line number Diff line change @@ -123,4 +123,13 @@ type CreateIndexStmt struct {
123123type DropTableStmt struct {
124124 node
125125 TableName * TableName
126+ }
127+
128+ /*
129+ Drop Index Statement
130+ see: https://docs.oracle.com/en/database/oracle/oracle-database/21/sqlrf/DROP-INDEX.html#GUID-F60F75DF-2866-4F93-BB7F-8FCE64BF67B6
131+ */
132+ type DropIndexStmt struct {
133+ node
134+ IndexName * IndexName
126135}
You can’t perform that action at this time.
0 commit comments