classAlterListItemWithAlterOptColumnIdentSetSymDefaultSymSignedLiteralOrNull_33ecdb89
final class AlterListItemWithAlterOptColumnIdentSetSymDefaultSymSignedLiteralOrNull_33ecdb89
implements AlterCommandListForm, AlterCommandsForm, AlterListForm, AlterListItemForm, OptAlterCommandListForm, OptAlterTableActionsForm
uses Assertion
Public API: explicitly declared with
@visibility public.The alter_list_item SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\AlterListItemWithAlterOptColumnIdentSetSymDefaultSymSignedLiteralOrNull_33ecdb89 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptColumnForm $optColumnpublic IdentForm $identpublic SignedLiteralOrNullForm $signedLiteralOrNullpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptColumnForm $optColumn,
public IdentForm $ident,
public SignedLiteralOrNullForm $signedLiteralOrNull,
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
$optColumn | OptColumnForm | |
$ident | IdentForm | |
$signedLiteralOrNull | SignedLiteralOrNullForm | |
$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 OptColumnForm::write() line 41
- method-call IdentForm::write() line 43
- method-call SignedLiteralOrNullForm::write() line 49
public function withOptColumn(OptColumnForm $optColumn): selfReturns a copy with a new optColumn, preserving every other field.
Parameters
$optColumn | OptColumnForm |
Returns
selfCalls 1
- new
selfline 57
public function withIdent(IdentForm $ident): selfpublic function withSignedLiteralOrNull(SignedLiteralOrNullForm $signedLiteralOrNull): selfReturns a copy with a new signedLiteralOrNull, preserving every other field.
Parameters
$signedLiteralOrNull | SignedLiteralOrNullForm |
Returns
selfCalls 1
- new
selfline 73