classOptCreatePartitioningEtcWithPartitionClauseOptDuplicateAsQe_58c41092
final class OptCreatePartitioningEtcWithPartitionClauseOptDuplicateAsQe_58c41092
implements OptCreatePartitioningEtcForm, OptCreateTableOptionsEtcForm
uses Assertion
Public API: explicitly declared with
@visibility public.The opt_create_partitioning_etc SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\OptCreatePartitioningEtcWithPartitionClauseOptDuplicateAsQe_58c41092 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public PartitionClauseForm $partitionClausepublic OptDuplicateAsQeForm $optDuplicateAsQepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public PartitionClauseForm $partitionClause,
public OptDuplicateAsQeForm $optDuplicateAsQe,
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
$partitionClause | PartitionClauseForm | |
$optDuplicateAsQe | OptDuplicateAsQeForm | |
$comments | Comments |
Calls 3
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 3
- method-call Writer::comments() line 36
- method-call PartitionClauseForm::write() line 37
- method-call OptDuplicateAsQeForm::write() line 39
public function withPartitionClause(PartitionClauseForm $partitionClause): selfReturns a copy with a new partitionClause, preserving every other field.
Parameters
$partitionClause | PartitionClauseForm |
Returns
selfCalls 1
- new
selfline 47
public function withOptDuplicateAsQe(OptDuplicateAsQeForm $optDuplicateAsQe): selfReturns a copy with a new optDuplicateAsQe, preserving every other field.
Parameters
$optDuplicateAsQe | OptDuplicateAsQeForm |
Returns
selfCalls 1
- new
selfline 55