@@ -982,16 +982,16 @@ func (cs *ContinueStatement) String() string { return "CONTINUE" }
982982// CreateTriggerStatement represents CREATE TRIGGER
983983type CreateTriggerStatement struct {
984984 BaseNode
985- TriggerName string // Trigger name
986- Timing string // BEFORE, AFTER, INSTEAD OF
987- Events []string // INSERT, UPDATE, DELETE
988- TableName TableReference // Table the trigger is on
989- ForEachRow bool // FOR EACH ROW (vs FOR EACH STATEMENT)
990- WhenCondition Expression // Optional WHEN condition
991- Body * ProcedureBody // Trigger body (BEGIN...END or single statement)
992- OrReplace bool // OR REPLACE (PostgreSQL)
993- IfNotExists bool // IF NOT EXISTS (MySQL)
994- Options map [string ]string // Dialect-specific options
985+ TriggerName string // Trigger name
986+ Timing string // BEFORE, AFTER, INSTEAD OF
987+ Events []string // INSERT, UPDATE, DELETE
988+ TableName TableReference // Table the trigger is on
989+ ForEachRow bool // FOR EACH ROW (vs FOR EACH STATEMENT)
990+ WhenCondition Expression // Optional WHEN condition
991+ Body * ProcedureBody // Trigger body (BEGIN...END or single statement)
992+ OrReplace bool // OR REPLACE (PostgreSQL)
993+ IfNotExists bool // IF NOT EXISTS (MySQL)
994+ Options map [string ]string // Dialect-specific options
995995}
996996
997997func (cts * CreateTriggerStatement ) statementNode () {}
0 commit comments