classInsertStmtWithInsertInsertLockOptionOptIgnoreOptIntoTableIdentOptUsePartitionInsertFromSu_5230158a
final class InsertStmtWithInsertInsertLockOptionOptIgnoreOptIntoTableIdentOptUsePartitionInsertFromSu_5230158a
implements EvSqlStmtForm, EvSqlStmtInnerForm, ExplainableCommandForm, ExplainableStmtForm, InsertStmtForm, SimpleStatementForm, SimpleStatementOrBeginForm, SpProcStmtForm, SpProcStmtStatementForm, StatementForm, StoredRoutineBodyForm, VerbClauseForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The insert_stmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\InsertStmtWithInsertInsertLockOptionOptIgnoreOptIntoTableIdentOptUsePartitionInsertFromSu_5230158a $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public InsertLockOptionForm $insertLockOptionpublic OptIgnoreForm $optIgnorepublic OptIntoForm $optIntopublic TableIdentForm $tableIdentpublic OptUsePartitionForm $optUsePartitionpublic InsertFromSubqueryForm $insertFromSubquerypublic OptInsertUpdateListForm $optInsertUpdateListpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public InsertLockOptionForm $insertLockOption,
public OptIgnoreForm $optIgnore,
public OptIntoForm $optInto,
public TableIdentForm $tableIdent,
public OptUsePartitionForm $optUsePartition,
public InsertFromSubqueryForm $insertFromSubquery,
public OptInsertUpdateListForm $optInsertUpdateList,
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
$insertLockOption | InsertLockOptionForm | |
$optIgnore | OptIgnoreForm | |
$optInto | OptIntoForm | |
$tableIdent | TableIdentForm | |
$optUsePartition | OptUsePartitionForm | |
$insertFromSubquery | InsertFromSubqueryForm | |
$optInsertUpdateList | OptInsertUpdateListForm | |
$comments | Comments |
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 9
- method-call Writer::comments() line 46
- method-call Writer::append() line 47
- method-call InsertLockOptionForm::write() line 49
- method-call OptIgnoreForm::write() line 51
- method-call OptIntoForm::write() line 53
- method-call TableIdentForm::write() line 55
- method-call OptUsePartitionForm::write() line 57
- method-call InsertFromSubqueryForm::write() line 59
- method-call OptInsertUpdateListForm::write() line 61
public function withInsertLockOption(InsertLockOptionForm $insertLockOption): selfReturns a copy with a new insertLockOption, preserving every other field.
Parameters
$insertLockOption | InsertLockOptionForm |
Returns
selfCalls 1
- new
selfline 69
public function withOptIgnore(OptIgnoreForm $optIgnore): selfReturns a copy with a new optIgnore, preserving every other field.
Parameters
$optIgnore | OptIgnoreForm |
Returns
selfCalls 1
- new
selfline 77
public function withOptInto(OptIntoForm $optInto): selfReturns a copy with a new optInto, preserving every other field.
Parameters
$optInto | OptIntoForm |
Returns
selfCalls 1
- new
selfline 85
public function withTableIdent(TableIdentForm $tableIdent): selfReturns a copy with a new tableIdent, preserving every other field.
Parameters
$tableIdent | TableIdentForm |
Returns
selfCalls 1
- new
selfline 93
public function withOptUsePartition(OptUsePartitionForm $optUsePartition): selfReturns a copy with a new optUsePartition, preserving every other field.
Parameters
$optUsePartition | OptUsePartitionForm |
Returns
selfCalls 1
- new
selfline 101
public function withInsertFromSubquery(InsertFromSubqueryForm $insertFromSubquery): selfReturns a copy with a new insertFromSubquery, preserving every other field.
Parameters
$insertFromSubquery | InsertFromSubqueryForm |
Returns
selfCalls 1
- new
selfline 109
public function withOptInsertUpdateList(OptInsertUpdateListForm $optInsertUpdateList): selfReturns a copy with a new optInsertUpdateList, preserving every other field.
Parameters
$optInsertUpdateList | OptInsertUpdateListForm |
Returns
selfCalls 1
- new
selfline 117