classCreate2aWithCreateFieldListOptCreateTableOptionsOptCreatePartitioningCreate3_27f326e1
final class Create2aWithCreateFieldListOptCreateTableOptionsOptCreatePartitioningCreate3_27f326e1
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\Create2aWithCreateFieldListOptCreateTableOptionsOptCreatePartitioningCreate3_27f326e1 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public CreateFieldListForm $createFieldListpublic OptCreateTableOptionsForm $optCreateTableOptionspublic OptCreatePartitioningForm $optCreatePartitioningpublic Create3Form $create3public Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public CreateFieldListForm $createFieldList,
public OptCreateTableOptionsForm $optCreateTableOptions,
public OptCreatePartitioningForm $optCreatePartitioning,
public Create3Form $create3,
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
$createFieldList | CreateFieldListForm | |
$optCreateTableOptions | OptCreateTableOptionsForm | |
$optCreatePartitioning | OptCreatePartitioningForm | |
$create3 | Create3Form | |
$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 CreateFieldListForm::write() line 41
- method-call Writer::append() line 43
- method-call OptCreateTableOptionsForm::write() line 45
- method-call OptCreatePartitioningForm::write() line 47
- method-call Create3Form::write() line 49
public function withCreateFieldList(CreateFieldListForm $createFieldList): selfReturns a copy with a new createFieldList, preserving every other field.
Parameters
$createFieldList | CreateFieldListForm |
Returns
selfCalls 1
- new
selfline 57
public function withOptCreateTableOptions(OptCreateTableOptionsForm $optCreateTableOptions): selfReturns a copy with a new optCreateTableOptions, preserving every other field.
Parameters
$optCreateTableOptions | OptCreateTableOptionsForm |
Returns
selfCalls 1
- new
selfline 65
public function withOptCreatePartitioning(OptCreatePartitioningForm $optCreatePartitioning): selfReturns a copy with a new optCreatePartitioning, preserving every other field.
Parameters
$optCreatePartitioning | OptCreatePartitioningForm |
Returns
selfCalls 1
- new
selfline 73
public function withCreate3(Create3Form $create3): selfReturns a copy with a new create3, preserving every other field.
Parameters
$create3 | Create3Form |
Returns
selfCalls 1
- new
selfline 81