File tree Expand file tree Collapse file tree 6 files changed +3248
-2955
lines changed
Expand file tree Collapse file tree 6 files changed +3248
-2955
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ this is an oracle sql parser. ref: https://docs.oracle.com/en/database/oracle/or
1414| Alter table| Drop constraint| :heavy_check_mark : | |
1515| Create table| Relational table| :heavy_check_mark : | :heavy_check_mark : |
1616| Create index| Relational table| :heavy_check_mark : | |
17+ | Drop table| -| :heavy_check_mark : | :heavy_check_mark : |
18+
1719## usage
1820``` go
1921package main
Original file line number Diff line number Diff line change @@ -108,10 +108,19 @@ type OutOfLineConstraint struct {
108108}
109109
110110/*
111- Create Table Statement
111+ Create Index Statement
112112 see: https://docs.oracle.com/en/database/oracle/oracle-database/21/sqlrf/CREATE-INDEX.html#GUID-1F89BBC0-825F-4215-AF71-7588E31D8BFE
113113*/
114114
115115type CreateIndexStmt struct {
116116 node
117117}
118+
119+ /*
120+ Drop Table Statement
121+ see: https://docs.oracle.com/en/database/oracle/oracle-database/21/sqlrf/CREATE-INDEX.html#GUID-1F89BBC0-825F-4215-AF71-7588E31D8BFE
122+ */
123+ type DropTableStmt struct {
124+ node
125+ TableName * TableName
126+ }
Original file line number Diff line number Diff line change @@ -301,6 +301,7 @@ var keywordMap = map[string]int{
301301 "usable" : _usable ,
302302 "unusable" : _unusable ,
303303 "invalidation" : _invalidation ,
304+ "purge" : _purge ,
304305}
305306
306307func init () {
You can’t perform that action at this time.
0 commit comments