classPartDefinitionWithPartitionSymPartNameOptPartValuesOptPartOptionsOptSubPartition_d06fb090
final class PartDefinitionWithPartitionSymPartNameOptPartValuesOptPartOptionsOptSubPartition_d06fb090
implements PartDefListForm, PartDefinitionForm
uses Assertion
Public API: explicitly declared with
@visibility public.The part_definition SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\PartDefinitionWithPartitionSymPartNameOptPartValuesOptPartOptionsOptSubPartition_d06fb090 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public PartNameForm $partNamepublic OptPartValuesForm $optPartValuespublic OptPartOptionsForm $optPartOptionspublic OptSubPartitionForm $optSubPartitionpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public PartNameForm $partName,
public OptPartValuesForm $optPartValues,
public OptPartOptionsForm $optPartOptions,
public OptSubPartitionForm $optSubPartition,
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
$partName | PartNameForm | |
$optPartValues | OptPartValuesForm | |
$optPartOptions | OptPartOptionsForm | |
$optSubPartition | OptSubPartitionForm | |
$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 PartNameForm::write() line 43
- method-call OptPartValuesForm::write() line 45
- method-call OptPartOptionsForm::write() line 47
- method-call OptSubPartitionForm::write() line 49
public function withPartName(PartNameForm $partName): selfReturns a copy with a new partName, preserving every other field.
Parameters
$partName | PartNameForm |
Returns
selfCalls 1
- new
selfline 57
public function withOptPartValues(OptPartValuesForm $optPartValues): selfReturns a copy with a new optPartValues, preserving every other field.
Parameters
$optPartValues | OptPartValuesForm |
Returns
selfCalls 1
- new
selfline 65
public function withOptPartOptions(OptPartOptionsForm $optPartOptions): selfReturns a copy with a new optPartOptions, preserving every other field.
Parameters
$optPartOptions | OptPartOptionsForm |
Returns
selfCalls 1
- new
selfline 73
public function withOptSubPartition(OptSubPartitionForm $optSubPartition): selfReturns a copy with a new optSubPartition, preserving every other field.
Parameters
$optSubPartition | OptSubPartitionForm |
Returns
selfCalls 1
- new
selfline 81