classCreateEventTrigStmtWithCreateEventTriggerNameOnColLabelExecuteFunctionOrProcedureFuncName_a492709d
final class CreateEventTrigStmtWithCreateEventTriggerNameOnColLabelExecuteFunctionOrProcedureFuncName_a492709d
implements CreateEventTrigStmtForm, ParseToplevelForm, RoutineBodyStmtForm, StmtForm, StmtmultiForm, ToplevelStmtForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The CreateEventTrigStmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\CreateEventTrigStmtWithCreateEventTriggerNameOnColLabelExecuteFunctionOrProcedureFuncName_a492709d $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public NameForm $namepublic ColLabelForm $colLabelpublic FunctionOrProcedureForm $functionOrProcedurepublic FuncNameForm $funcNamepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public NameForm $name,
public ColLabelForm $colLabel,
public FunctionOrProcedureForm $functionOrProcedure,
public FuncNameForm $funcName,
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
$name | NameForm | |
$colLabel | ColLabelForm | |
$functionOrProcedure | FunctionOrProcedureForm | |
$funcName | FuncNameForm | |
$comments | Comments |
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 6
- method-call Writer::comments() line 40
- method-call Writer::append() line 41
- method-call NameForm::write() line 47
- method-call ColLabelForm::write() line 51
- method-call FunctionOrProcedureForm::write() line 55
- method-call FuncNameForm::write() line 57
public function withName(NameForm $name): selfpublic function withColLabel(ColLabelForm $colLabel): selfReturns a copy with a new colLabel, preserving every other field.
Parameters
$colLabel | ColLabelForm |
Returns
selfCalls 1
- new
selfline 77
public function withFunctionOrProcedure(FunctionOrProcedureForm $functionOrProcedure): selfReturns a copy with a new functionOrProcedure, preserving every other field.
Parameters
$functionOrProcedure | FunctionOrProcedureForm |
Returns
selfCalls 1
- new
selfline 85
public function withFuncName(FuncNameForm $funcName): selfReturns a copy with a new funcName, preserving every other field.
Parameters
$funcName | FuncNameForm |
Returns
selfCalls 1
- new
selfline 93