Skip to content

Commit

Permalink
add new BNF files
Browse files Browse the repository at this point in the history
  • Loading branch information
taroface committed Nov 13, 2024
1 parent 380e274 commit 11bf877
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/generated/sql/bnf/create_trigger.bnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
create_trigger_stmt ::=
'CREATE' 'TRIGGER' trigger_create_name ( 'BEFORE' | 'AFTER' ) ( ( ( 'INSERT' | 'DELETE' | 'UPDATE' | 'UPDATE' ) ) ( ( 'OR' ( 'INSERT' | 'DELETE' | 'UPDATE' | 'UPDATE' ) ) )* ) 'ON' table_name ( 'FOR' ( 'EACH' | ) ( 'ROW' ) | ) ( 'WHEN' a_expr | ) 'EXECUTE' ( 'FUNCTION' ) func_name '(' trigger_func_args ')'
3 changes: 3 additions & 0 deletions docs/generated/sql/bnf/drop_trigger.bnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
drop_trigger_stmt ::=
'DROP' 'TRIGGER' trigger_name 'ON' table_name ( 'RESTRICT' | )
| 'DROP' 'TRIGGER' 'IF' 'EXISTS' trigger_name 'ON' table_name ( 'RESTRICT' | )

0 comments on commit 11bf877

Please sign in to comment.