classAlterCommandsWithExchangeSymPartitionSymAltPartNameItemWithTableSymTableIdentHavePartitionin_5cd7aea3
final class AlterCommandsWithExchangeSymPartitionSymAltPartNameItemWithTableSymTableIdentHavePartitionin_5cd7aea3
implements AlterCommandsForm
uses Assertion
Public API: explicitly declared with
@visibility public.The alter_commands SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\AlterCommandsWithExchangeSymPartitionSymAltPartNameItemWithTableSymTableIdentHavePartitionin_5cd7aea3 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public AltPartNameItemForm $altPartNameItempublic TableIdentForm $tableIdentpublic HavePartitioningForm $havePartitioningpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public AltPartNameItemForm $altPartNameItem,
public TableIdentForm $tableIdent,
public HavePartitioningForm $havePartitioning,
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 | |
$havePartitioning | HavePartitioningForm | |
$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 HavePartitioningForm::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 withHavePartitioning(HavePartitioningForm $havePartitioning): selfReturns a copy with a new havePartitioning, preserving every other field.
Parameters
$havePartitioning | HavePartitioningForm |
Returns
selfCalls 1
- new
selfline 75