classInsertStmtWithInsertSymInsertLockOptionOptIgnoreOptIntoTableIdentOptUsePartitionInsertFro_5460f971
final class InsertStmtWithInsertSymInsertLockOptionOptIgnoreOptIntoTableIdentOptUsePartitionInsertFro_5460f971
implements EvSqlStmtForm, EvSqlStmtInnerForm, ExplainableCommandForm, ExplainableStmtForm, InsertStmtForm, SimpleStatementForm, SimpleStatementOrBeginForm, SpProcStmtForm, SpProcStmtStatementForm, StatementForm, StoredRoutineBodyForm, VerbClauseForm, Command
uses Assertion
@visibility public.The insert_stmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\InsertStmtWithInsertSymInsertLockOptionOptIgnoreOptIntoTableIdentOptUsePartitionInsertFro_5460f971 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public InsertLockOptionForm $insertLockOptionpublic OptIgnoreForm $optIgnorepublic OptIntoForm $optIntopublic TableIdentForm $tableIdentpublic OptUsePartitionForm $optUsePartitionpublic InsertFromConstructorForm $insertFromConstructorpublic OptValuesReferenceForm $optValuesReferencepublic 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 InsertFromConstructorForm $insertFromConstructor,
public OptValuesReferenceForm $optValuesReference,
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 | |
$insertFromConstructor | InsertFromConstructorForm | |
$optValuesReference | OptValuesReferenceForm | |
$optInsertUpdateList | OptInsertUpdateListForm | |
$comments | Comments |
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 10
- method-call Writer::comments() line 48
- method-call Writer::append() line 49
- method-call InsertLockOptionForm::write() line 51
- method-call OptIgnoreForm::write() line 53
- method-call OptIntoForm::write() line 55
- method-call TableIdentForm::write() line 57
- method-call OptUsePartitionForm::write() line 59
- method-call InsertFromConstructorForm::write() line 61
- method-call OptValuesReferenceForm::write() line 63
- method-call OptInsertUpdateListForm::write() line 65
public function withInsertLockOption(InsertLockOptionForm $insertLockOption): selfReturns a copy with a new insertLockOption, preserving every other field.
Parameters
$insertLockOption | InsertLockOptionForm |
Returns
selfCalls 1
- new
selfline 73
public function withOptIgnore(OptIgnoreForm $optIgnore): selfReturns a copy with a new optIgnore, preserving every other field.
Parameters
$optIgnore | OptIgnoreForm |
Returns
selfCalls 1
- new
selfline 81
public function withOptInto(OptIntoForm $optInto): selfReturns a copy with a new optInto, preserving every other field.
Parameters
$optInto | OptIntoForm |
Returns
selfCalls 1
- new
selfline 89
public function withTableIdent(TableIdentForm $tableIdent): selfReturns a copy with a new tableIdent, preserving every other field.
Parameters
$tableIdent | TableIdentForm |
Returns
selfCalls 1
- new
selfline 97
public function withOptUsePartition(OptUsePartitionForm $optUsePartition): selfReturns a copy with a new optUsePartition, preserving every other field.
Parameters
$optUsePartition | OptUsePartitionForm |
Returns
selfCalls 1
- new
selfline 105
public function withInsertFromConstructor(InsertFromConstructorForm $insertFromConstructor): selfReturns a copy with a new insertFromConstructor, preserving every other field.
Parameters
$insertFromConstructor | InsertFromConstructorForm |
Returns
selfCalls 1
- new
selfline 113
public function withOptValuesReference(OptValuesReferenceForm $optValuesReference): selfReturns a copy with a new optValuesReference, preserving every other field.
Parameters
$optValuesReference | OptValuesReferenceForm |
Returns
selfCalls 1
- new
selfline 121
public function withOptInsertUpdateList(OptInsertUpdateListForm $optInsertUpdateList): selfReturns a copy with a new optInsertUpdateList, preserving every other field.
Parameters
$optInsertUpdateList | OptInsertUpdateListForm |
Returns
selfCalls 1
- new
selfline 129