classTriggerTailWithTriggerSymOptIfNotExistsSpNameTrgActionTimeTrgEventOnSymTableIdentForSymEac_c374f3ee
final class TriggerTailWithTriggerSymOptIfNotExistsSpNameTrgActionTimeTrgEventOnSymTableIdentForSymEac_c374f3ee
implements DefinerTailForm, NoDefinerTailForm, TriggerTailForm
uses Assertion
Public API: explicitly declared with
@visibility public.The trigger_tail SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\TriggerTailWithTriggerSymOptIfNotExistsSpNameTrgActionTimeTrgEventOnSymTableIdentForSymEac_c374f3ee $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptIfNotExistsForm $optIfNotExistspublic SpNameForm $spNamepublic TrgActionTimeForm $trgActionTimepublic TrgEventForm $trgEventpublic TableIdentForm $tableIdentpublic TriggerFollowsPrecedesClauseForm $triggerFollowsPrecedesClausepublic SpProcStmtForm $spProcStmtpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptIfNotExistsForm $optIfNotExists,
public SpNameForm $spName,
public TrgActionTimeForm $trgActionTime,
public TrgEventForm $trgEvent,
public TableIdentForm $tableIdent,
public TriggerFollowsPrecedesClauseForm $triggerFollowsPrecedesClause,
public SpProcStmtForm $spProcStmt,
public Comments $comments = new \SqlSemantics\Statement\Comments(),
)Supplies the SQL values of this form; comments are kept by the position of the symbol each precedes.
Parameters
$optIfNotExists | OptIfNotExistsForm | |
$spName | SpNameForm | |
$trgActionTime | TrgActionTimeForm | |
$trgEvent | TrgEventForm | |
$tableIdent | TableIdentForm | |
$triggerFollowsPrecedesClause | TriggerFollowsPrecedesClauseForm | |
$spProcStmt | SpProcStmtForm | |
$comments | Comments |
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 9
- method-call Writer::comments() line 46
- method-call Writer::append() line 47
- method-call OptIfNotExistsForm::write() line 49
- method-call SpNameForm::write() line 51
- method-call TrgActionTimeForm::write() line 53
- method-call TrgEventForm::write() line 55
- method-call TableIdentForm::write() line 59
- method-call TriggerFollowsPrecedesClauseForm::write() line 67
- method-call SpProcStmtForm::write() line 69
public function withOptIfNotExists(OptIfNotExistsForm $optIfNotExists): selfReturns a copy with a new optIfNotExists, preserving every other field.
Parameters
$optIfNotExists | OptIfNotExistsForm |
Returns
selfCalls 1
- new
selfline 77
public function withSpName(SpNameForm $spName): selfReturns a copy with a new spName, preserving every other field.
Parameters
$spName | SpNameForm |
Returns
selfCalls 1
- new
selfline 85
public function withTrgActionTime(TrgActionTimeForm $trgActionTime): selfReturns a copy with a new trgActionTime, preserving every other field.
Parameters
$trgActionTime | TrgActionTimeForm |
Returns
selfCalls 1
- new
selfline 93
public function withTrgEvent(TrgEventForm $trgEvent): selfReturns a copy with a new trgEvent, preserving every other field.
Parameters
$trgEvent | TrgEventForm |
Returns
selfCalls 1
- new
selfline 101
public function withTableIdent(TableIdentForm $tableIdent): selfReturns a copy with a new tableIdent, preserving every other field.
Parameters
$tableIdent | TableIdentForm |
Returns
selfCalls 1
- new
selfline 109
public function withTriggerFollowsPrecedesClause(TriggerFollowsPrecedesClauseForm $triggerFollowsPrecedesClause): selfReturns a copy with a new triggerFollowsPrecedesClause, preserving every other field.
Parameters
$triggerFollowsPrecedesClause | TriggerFollowsPrecedesClauseForm |
Returns
selfCalls 1
- new
selfline 117
public function withSpProcStmt(SpProcStmtForm $spProcStmt): selfReturns a copy with a new spProcStmt, preserving every other field.
Parameters
$spProcStmt | SpProcStmtForm |
Returns
selfCalls 1
- new
selfline 125