classPartDefinitionWithPartitionSymIdentOptPartValuesOptPartOptionsOptSubPartition_3163ca6c
final class PartDefinitionWithPartitionSymIdentOptPartValuesOptPartOptionsOptSubPartition_3163ca6c
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\PartDefinitionWithPartitionSymIdentOptPartValuesOptPartOptionsOptSubPartition_3163ca6c $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public IdentForm $identpublic OptPartValuesForm $optPartValuespublic OptPartOptionsForm $optPartOptionspublic OptSubPartitionForm $optSubPartitionpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public IdentForm $ident,
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
$ident | IdentForm | |
$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 IdentForm::write() line 43
- method-call OptPartValuesForm::write() line 45
- method-call OptPartOptionsForm::write() line 47
- method-call OptSubPartitionForm::write() line 49
public function withIdent(IdentForm $ident): selfpublic 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