classOptOnUpdateDeleteWithOnDeleteSymDeleteOptionOnUpdateSymDeleteOption_ace6040d
final class OptOnUpdateDeleteWithOnDeleteSymDeleteOptionOnUpdateSymDeleteOption_ace6040d
implements OptOnUpdateDeleteForm
uses Assertion
Public API: explicitly declared with
@visibility public.The opt_on_update_delete SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\OptOnUpdateDeleteWithOnDeleteSymDeleteOptionOnUpdateSymDeleteOption_ace6040d $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public DeleteOptionForm $deleteOptionpublic DeleteOptionForm $deleteOption2public Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public DeleteOptionForm $deleteOption,
public DeleteOptionForm $deleteOption2,
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
$deleteOption | DeleteOptionForm | |
$deleteOption2 | DeleteOptionForm | |
$comments | Comments |
Calls 3
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 3
- method-call Writer::comments() line 36
- method-call Writer::append() line 37
- method-call DeleteOptionForm::write() line 41
public function withDeleteOption(DeleteOptionForm $deleteOption): selfReturns a copy with a new deleteOption, preserving every other field.
Parameters
$deleteOption | DeleteOptionForm |
Returns
selfCalls 1
- new
selfline 55
public function withDeleteOption2(DeleteOptionForm $deleteOption2): selfReturns a copy with a new deleteOption2, preserving every other field.
Parameters
$deleteOption2 | DeleteOptionForm |
Returns
selfCalls 1
- new
selfline 63