classStandaloneAlterCommandsWithExchangeSymPartitionSymAltPartNameItemWithTableSymTableIdentOptValidation_292cdc81
final class StandaloneAlterCommandsWithExchangeSymPartitionSymAltPartNameItemWithTableSymTableIdentOptValidation_292cdc81
implements AlterCommandsForm, StandaloneAlterCommandsForm, StandaloneAlterTableActionForm
uses Assertion
Public API: explicitly declared with
@visibility public.The standalone_alter_commands SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\StandaloneAlterCommandsWithExchangeSymPartitionSymAltPartNameItemWithTableSymTableIdentOptValidation_292cdc81 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public AltPartNameItemForm $altPartNameItempublic TableIdentForm $tableIdentpublic OptValidationForm $optValidationpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public AltPartNameItemForm $altPartNameItem,
public TableIdentForm $tableIdent,
public OptValidationForm $optValidation,
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
$altPartNameItem | AltPartNameItemForm | |
$tableIdent | TableIdentForm | |
$optValidation | OptValidationForm | |
$comments | Comments |
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 AltPartNameItemForm::write() line 43
- method-call TableIdentForm::write() line 49
- method-call OptValidationForm::write() line 51
public function withAltPartNameItem(AltPartNameItemForm $altPartNameItem): selfReturns a copy with a new altPartNameItem, preserving every other field.
Parameters
$altPartNameItem | AltPartNameItemForm |
Returns
selfCalls 1
- new
selfline 59
public function withTableIdent(TableIdentForm $tableIdent): selfReturns a copy with a new tableIdent, preserving every other field.
Parameters
$tableIdent | TableIdentForm |
Returns
selfCalls 1
- new
selfline 67
public function withOptValidation(OptValidationForm $optValidation): selfReturns a copy with a new optValidation, preserving every other field.
Parameters
$optValidation | OptValidationForm |
Returns
selfCalls 1
- new
selfline 75