classViewOrTriggerOrSpOrEventWithViewReplaceOrAlgorithmDefinerOptViewTail_35de15a4
final class ViewOrTriggerOrSpOrEventWithViewReplaceOrAlgorithmDefinerOptViewTail_35de15a4
implements ViewOrTriggerOrSpOrEventForm
uses Assertion
Public API: explicitly declared with
@visibility public.The view_or_trigger_or_sp_or_event SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\ViewOrTriggerOrSpOrEventWithViewReplaceOrAlgorithmDefinerOptViewTail_35de15a4 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public ViewReplaceOrAlgorithmForm $viewReplaceOrAlgorithmpublic DefinerOptForm $definerOptpublic ViewTailForm $viewTailpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public ViewReplaceOrAlgorithmForm $viewReplaceOrAlgorithm,
public DefinerOptForm $definerOpt,
public ViewTailForm $viewTail,
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
$viewReplaceOrAlgorithm | ViewReplaceOrAlgorithmForm | |
$definerOpt | DefinerOptForm | |
$viewTail | ViewTailForm | |
$comments | Comments |
Calls 3
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 4
- method-call Writer::comments() line 38
- method-call ViewReplaceOrAlgorithmForm::write() line 39
- method-call DefinerOptForm::write() line 41
- method-call ViewTailForm::write() line 43
public function withViewReplaceOrAlgorithm(ViewReplaceOrAlgorithmForm $viewReplaceOrAlgorithm): selfReturns a copy with a new viewReplaceOrAlgorithm, preserving every other field.
Parameters
$viewReplaceOrAlgorithm | ViewReplaceOrAlgorithmForm |
Returns
selfCalls 1
- new
selfline 51
public function withDefinerOpt(DefinerOptForm $definerOpt): selfReturns a copy with a new definerOpt, preserving every other field.
Parameters
$definerOpt | DefinerOptForm |
Returns
selfCalls 1
- new
selfline 59
public function withViewTail(ViewTailForm $viewTail): selfReturns a copy with a new viewTail, preserving every other field.
Parameters
$viewTail | ViewTailForm |
Returns
selfCalls 1
- new
selfline 67