Skip to content

Model MySQL CREATE TRIGGER statements - #2548

Open
minleejae wants to merge 1 commit into
JSQLParser:masterfrom
minleejae:feat/mysql-create-trigger
Open

Model MySQL CREATE TRIGGER statements#2548
minleejae wants to merge 1 commit into
JSQLParser:masterfrom
minleejae:feat/mysql-create-trigger

Conversation

@minleejae

Copy link
Copy Markdown
Contributor

Summary

  • replace the unsupported fallback for MySQL CREATE TRIGGER with a dedicated statement AST
  • expose definer accounts, trigger timing/event, target table, ordering, and body as structured values
  • retain trigger bodies as normal statement nodes so callers can inspect assignments and referenced tables directly

Validation

  • ./gradlew spotlessApply test spotlessCheck checkstyleMain checkstyleTest
  • executed before/after, insert/update/delete, definer, and ordered-trigger forms against MySQL 8.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant