classCmdWithAlterTableAddColumnFullnameAddKwcolumnOptColumnnameCarglist_868ede0d
final class CmdWithAlterTableAddColumnFullnameAddKwcolumnOptColumnnameCarglist_868ede0d
implements CmdForm, CmdxForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The cmd SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\Sqlite\Value\CmdWithAlterTableAddColumnFullnameAddKwcolumnOptColumnnameCarglist_868ede0d $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public AddColumnFullnameForm $addColumnFullnamepublic KwcolumnOptForm $kwcolumnOptpublic ColumnnameForm $columnnamepublic CarglistForm $carglistpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public AddColumnFullnameForm $addColumnFullname,
public KwcolumnOptForm $kwcolumnOpt,
public ColumnnameForm $columnname,
public CarglistForm $carglist,
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
$addColumnFullname | AddColumnFullnameForm | |
$kwcolumnOpt | KwcolumnOptForm | |
$columnname | ColumnnameForm | |
$carglist | CarglistForm | |
$comments | Comments |
Calls 3
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 AddColumnFullnameForm::write() line 45
- method-call KwcolumnOptForm::write() line 49
- method-call ColumnnameForm::write() line 51
- method-call CarglistForm::write() line 53
public function withAddColumnFullname(AddColumnFullnameForm $addColumnFullname): selfReturns a copy with a new addColumnFullname, preserving every other field.
Parameters
$addColumnFullname | AddColumnFullnameForm |
Returns
selfCalls 1
- new
selfline 61
public function withKwcolumnOpt(KwcolumnOptForm $kwcolumnOpt): selfReturns a copy with a new kwcolumnOpt, preserving every other field.
Parameters
$kwcolumnOpt | KwcolumnOptForm |
Returns
selfCalls 1
- new
selfline 69
public function withColumnname(ColumnnameForm $columnname): selfReturns a copy with a new columnname, preserving every other field.
Parameters
$columnname | ColumnnameForm |
Returns
selfCalls 1
- new
selfline 77
public function withCarglist(CarglistForm $carglist): selfReturns a copy with a new carglist, preserving every other field.
Parameters
$carglist | CarglistForm |
Returns
selfCalls 1
- new
selfline 85