classUpdateStmtWithOptWithClauseUpdateSymOptLowPriorityOptIgnoreTableReferenceListSetSymUpdate_550b8674
final class UpdateStmtWithOptWithClauseUpdateSymOptLowPriorityOptIgnoreTableReferenceListSetSymUpdate_550b8674
implements EvSqlStmtForm, EvSqlStmtInnerForm, ExplainableCommandForm, ExplainableStmtForm, SimpleStatementForm, SimpleStatementOrBeginForm, SpProcStmtForm, SpProcStmtStatementForm, StatementForm, StoredRoutineBodyForm, UpdateStmtForm, VerbClauseForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The update_stmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\UpdateStmtWithOptWithClauseUpdateSymOptLowPriorityOptIgnoreTableReferenceListSetSymUpdate_550b8674 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptWithClauseForm $withpublic OptLowPriorityForm $optLowPrioritypublic OptIgnoreForm $optIgnorepublic TableReferenceListForm $tableReferenceListpublic UpdateListForm $updateListpublic OptWhereClauseForm $wherepublic OptOrderClauseForm $orderBypublic OptSimpleLimitForm $optSimpleLimitpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptWithClauseForm $with,
public OptLowPriorityForm $optLowPriority,
public OptIgnoreForm $optIgnore,
public TableReferenceListForm $tableReferenceList,
public UpdateListForm $updateList,
public OptWhereClauseForm $where,
public OptOrderClauseForm $orderBy,
public OptSimpleLimitForm $optSimpleLimit,
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
$with | OptWithClauseForm | |
$optLowPriority | OptLowPriorityForm | |
$optIgnore | OptIgnoreForm | |
$tableReferenceList | TableReferenceListForm | |
$updateList | UpdateListForm | |
$where | OptWhereClauseForm | |
$orderBy | OptOrderClauseForm | |
$optSimpleLimit | OptSimpleLimitForm | |
$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 OptWithClauseForm::write() line 49
- method-call Writer::append() line 51
- method-call OptLowPriorityForm::write() line 53
- method-call OptIgnoreForm::write() line 55
- method-call TableReferenceListForm::write() line 57
- method-call UpdateListForm::write() line 61
- method-call OptWhereClauseForm::write() line 63
- method-call OptOrderClauseForm::write() line 65
- method-call OptSimpleLimitForm::write() line 67
public function withWith(OptWithClauseForm $with): selfReturns a copy with a new with, preserving every other field.
Parameters
$with | OptWithClauseForm |
Returns
selfCalls 1
- new
selfline 75
public function withOptLowPriority(OptLowPriorityForm $optLowPriority): selfReturns a copy with a new optLowPriority, preserving every other field.
Parameters
$optLowPriority | OptLowPriorityForm |
Returns
selfCalls 1
- new
selfline 83
public function withOptIgnore(OptIgnoreForm $optIgnore): selfReturns a copy with a new optIgnore, preserving every other field.
Parameters
$optIgnore | OptIgnoreForm |
Returns
selfCalls 1
- new
selfline 91
public function withTableReferenceList(TableReferenceListForm $tableReferenceList): selfReturns a copy with a new tableReferenceList, preserving every other field.
Parameters
$tableReferenceList | TableReferenceListForm |
Returns
selfCalls 1
- new
selfline 99
public function withUpdateList(UpdateListForm $updateList): selfReturns a copy with a new updateList, preserving every other field.
Parameters
$updateList | UpdateListForm |
Returns
selfCalls 1
- new
selfline 107
public function withWhere(OptWhereClauseForm $where): selfReturns a copy with a new where, preserving every other field.
Parameters
$where | OptWhereClauseForm |
Returns
selfCalls 1
- new
selfline 115
public function withOrderBy(OptOrderClauseForm $orderBy): selfReturns a copy with a new orderBy, preserving every other field.
Parameters
$orderBy | OptOrderClauseForm |
Returns
selfCalls 1
- new
selfline 123
public function withOptSimpleLimit(OptSimpleLimitForm $optSimpleLimit): selfReturns a copy with a new optSimpleLimit, preserving every other field.
Parameters
$optSimpleLimit | OptSimpleLimitForm |
Returns
selfCalls 1
- new
selfline 131