classCreate2aWithOptCreatePartitioningCreateSelectUnionOpt_706ed2a4
final class Create2aWithOptCreatePartitioningCreateSelectUnionOpt_706ed2a4
implements Create2aForm
uses Assertion
Public API: explicitly declared with
@visibility public.The create2a SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\Create2aWithOptCreatePartitioningCreateSelectUnionOpt_706ed2a4 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptCreatePartitioningForm $optCreatePartitioningpublic CreateSelectForm $createSelectpublic UnionOptForm $unionOptpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptCreatePartitioningForm $optCreatePartitioning,
public CreateSelectForm $createSelect,
public UnionOptForm $unionOpt,
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
$optCreatePartitioning | OptCreatePartitioningForm | |
$createSelect | CreateSelectForm | |
$unionOpt | UnionOptForm | |
$comments | Comments |
Calls 3
- new Comments line 26
- method-call Create2aWithOptCreatePartitioningCreateSelectUnionOpt_706ed2a4::assert() line 28
- static-call Contracts::contains() line 28
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 OptCreatePartitioningForm::write() line 39
- method-call CreateSelectForm::write() line 41
- method-call Writer::append() line 43
- method-call UnionOptForm::write() line 45
public function withOptCreatePartitioning(OptCreatePartitioningForm $optCreatePartitioning): selfReturns a copy with a new optCreatePartitioning, preserving every other field.
Parameters
$optCreatePartitioning | OptCreatePartitioningForm |
Returns
selfCalls 1
- new
selfline 53
public function withCreateSelect(CreateSelectForm $createSelect): selfReturns a copy with a new createSelect, preserving every other field.
Parameters
$createSelect | CreateSelectForm |
Returns
selfCalls 1
- new
selfline 61
public function withUnionOpt(UnionOptForm $unionOpt): selfReturns a copy with a new unionOpt, preserving every other field.
Parameters
$unionOpt | UnionOptForm |
Returns
selfCalls 1
- new
selfline 69