classShowTriggersStmtWithShowOptFullTriggersSymOptDbOptWildOrWhere_212a9954
final class ShowTriggersStmtWithShowOptFullTriggersSymOptDbOptWildOrWhere_212a9954
implements EvSqlStmtForm, EvSqlStmtInnerForm, ShowTriggersStmtForm, SimpleStatementForm, SimpleStatementOrBeginForm, SpProcStmtForm, SpProcStmtStatementForm, StoredRoutineBodyForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The show_triggers_stmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\ShowTriggersStmtWithShowOptFullTriggersSymOptDbOptWildOrWhere_212a9954 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptFullForm $optFullpublic OptDbForm $optDbpublic OptWildOrWhereForm $optWildOrWherepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptFullForm $optFull,
public OptDbForm $optDb,
public OptWildOrWhereForm $optWildOrWhere,
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
$optFull | OptFullForm | |
$optDb | OptDbForm | |
$optWildOrWhere | OptWildOrWhereForm | |
$comments | Comments |
Calls 3
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 5
- method-call Writer::comments() line 38
- method-call Writer::append() line 39
- method-call OptFullForm::write() line 41
- method-call OptDbForm::write() line 45
- method-call OptWildOrWhereForm::write() line 47
public function withOptFull(OptFullForm $optFull): selfReturns a copy with a new optFull, preserving every other field.
Parameters
$optFull | OptFullForm |
Returns
selfCalls 1
- new
selfline 55
public function withOptDb(OptDbForm $optDb): selfpublic function withOptWildOrWhere(OptWildOrWhereForm $optWildOrWhere): selfReturns a copy with a new optWildOrWhere, preserving every other field.
Parameters
$optWildOrWhere | OptWildOrWhereForm |
Returns
selfCalls 1
- new
selfline 71