-
Notifications
You must be signed in to change notification settings - Fork 13
DDL Support #6
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Activity
Metadata
Metadata
Labels
enhancementNew feature or requestNew feature or request
Support DDL.
Currently library does not support DDL part of sql. I would like to try partially implement ddl functionality.
Grammar to implement in that issue:
// DDL
ddl_stmt
: create_stmt
| alter_stmt
| drop_stmt;
create_stmt
: create_table_stmt
| create_index_stmt
| create_sequence_stmt
| create_procedure_stmt
| create_view_stmt
| create_trigger_stmt
;
alter_stmt:
alter_table_stmt
;
drop_stmt
: drop_index_stmt
| drop_table_stmt
| drop_trigger_stmt
| drop_view_stmt
;
I think it would be great to start from that limited grammar.