Builds the statements a trigger needs. Some engines want a separate
function or procedure before the trigger itself, so this returns a list
rather than one statement.
Needed only when body or when is structured rather than a string —
rendering an action requires the dialect's escaping and its where
builder. QueryInterface.createTrigger() always supplies it.
Builds the statements a trigger needs. Some engines want a separate function or procedure before the trigger itself, so this returns a list rather than one statement.