classReplaceStmtWithReplaceReplaceLockOptionOptIntoTableIdentOptUsePartitionSetUpdateList_9e9fee32
final class ReplaceStmtWithReplaceReplaceLockOptionOptIntoTableIdentOptUsePartitionSetUpdateList_9e9fee32
implements EvSqlStmtForm, EvSqlStmtInnerForm, ExplainableCommandForm, ExplainableStmtForm, ReplaceStmtForm, SimpleStatementForm, SimpleStatementOrBeginForm, SpProcStmtForm, SpProcStmtStatementForm, StatementForm, StoredRoutineBodyForm, VerbClauseForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The replace_stmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\ReplaceStmtWithReplaceReplaceLockOptionOptIntoTableIdentOptUsePartitionSetUpdateList_9e9fee32 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public ReplaceLockOptionForm $replaceLockOptionpublic OptIntoForm $optIntopublic TableIdentForm $tableIdentpublic OptUsePartitionForm $optUsePartitionpublic UpdateListForm $updateListpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public ReplaceLockOptionForm $replaceLockOption,
public OptIntoForm $optInto,
public TableIdentForm $tableIdent,
public OptUsePartitionForm $optUsePartition,
public UpdateListForm $updateList,
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
$replaceLockOption | ReplaceLockOptionForm | |
$optInto | OptIntoForm | |
$tableIdent | TableIdentForm | |
$optUsePartition | OptUsePartitionForm | |
$updateList | UpdateListForm | |
$comments | Comments |
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 7
- method-call Writer::comments() line 42
- method-call Writer::append() line 43
- method-call ReplaceLockOptionForm::write() line 45
- method-call OptIntoForm::write() line 47
- method-call TableIdentForm::write() line 49
- method-call OptUsePartitionForm::write() line 51
- method-call UpdateListForm::write() line 55
public function withReplaceLockOption(ReplaceLockOptionForm $replaceLockOption): selfReturns a copy with a new replaceLockOption, preserving every other field.
Parameters
$replaceLockOption | ReplaceLockOptionForm |
Returns
selfCalls 1
- new
selfline 63
public function withOptInto(OptIntoForm $optInto): selfReturns a copy with a new optInto, preserving every other field.
Parameters
$optInto | OptIntoForm |
Returns
selfCalls 1
- new
selfline 71
public function withTableIdent(TableIdentForm $tableIdent): selfReturns a copy with a new tableIdent, preserving every other field.
Parameters
$tableIdent | TableIdentForm |
Returns
selfCalls 1
- new
selfline 79
public function withOptUsePartition(OptUsePartitionForm $optUsePartition): selfReturns a copy with a new optUsePartition, preserving every other field.
Parameters
$optUsePartition | OptUsePartitionForm |
Returns
selfCalls 1
- new
selfline 87
public function withUpdateList(UpdateListForm $updateList): selfReturns a copy with a new updateList, preserving every other field.
Parameters
$updateList | UpdateListForm |
Returns
selfCalls 1
- new
selfline 95