classCreateWithCreateOptTableOptionsTableSymOptIfNotExistsTableIdentCreate2_b0ee61da
final class CreateWithCreateOptTableOptionsTableSymOptIfNotExistsTableIdentCreate2_b0ee61da
implements CreateForm, EvSqlStmtForm, EvSqlStmtInnerForm, SimpleStatementForm, SimpleStatementOrBeginForm, SpProcStmtForm, SpProcStmtStatementForm, StatementForm, StoredRoutineBodyForm, VerbClauseForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The create SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\CreateWithCreateOptTableOptionsTableSymOptIfNotExistsTableIdentCreate2_b0ee61da $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptTableOptionsForm $optTableOptionspublic OptIfNotExistsForm $optIfNotExistspublic TableIdentForm $tableIdentpublic Create2Form $create2public Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptTableOptionsForm $optTableOptions,
public OptIfNotExistsForm $optIfNotExists,
public TableIdentForm $tableIdent,
public Create2Form $create2,
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
$optTableOptions | OptTableOptionsForm | |
$optIfNotExists | OptIfNotExistsForm | |
$tableIdent | TableIdentForm | |
$create2 | Create2Form | |
$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 OptTableOptionsForm::write() line 43
- method-call OptIfNotExistsForm::write() line 47
- method-call TableIdentForm::write() line 49
- method-call Create2Form::write() line 51
public function withOptTableOptions(OptTableOptionsForm $optTableOptions): selfReturns a copy with a new optTableOptions, preserving every other field.
Parameters
$optTableOptions | OptTableOptionsForm |
Returns
selfCalls 1
- new
selfline 59
public function withOptIfNotExists(OptIfNotExistsForm $optIfNotExists): selfReturns a copy with a new optIfNotExists, preserving every other field.
Parameters
$optIfNotExists | OptIfNotExistsForm |
Returns
selfCalls 1
- new
selfline 67
public function withTableIdent(TableIdentForm $tableIdent): selfReturns a copy with a new tableIdent, preserving every other field.
Parameters
$tableIdent | TableIdentForm |
Returns
selfCalls 1
- new
selfline 75
public function withCreate2(Create2Form $create2): selfReturns a copy with a new create2, preserving every other field.
Parameters
$create2 | Create2Form |
Returns
selfCalls 1
- new
selfline 83