classUpdateStmtWithUpdateSymOptLowPriorityOptIgnoreJoinTableListSetUpdateListOptWhereClauseOpt_bbe01549
final class UpdateStmtWithUpdateSymOptLowPriorityOptIgnoreJoinTableListSetUpdateListOptWhereClauseOpt_bbe01549
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\UpdateStmtWithUpdateSymOptLowPriorityOptIgnoreJoinTableListSetUpdateListOptWhereClauseOpt_bbe01549 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptLowPriorityForm $optLowPrioritypublic OptIgnoreForm $optIgnorepublic JoinTableListForm $joinTableListpublic UpdateListForm $updateListpublic OptWhereClauseForm $wherepublic OptOrderClauseForm $orderBypublic OptSimpleLimitForm $optSimpleLimitpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptLowPriorityForm $optLowPriority,
public OptIgnoreForm $optIgnore,
public JoinTableListForm $joinTableList,
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
$optLowPriority | OptLowPriorityForm | |
$optIgnore | OptIgnoreForm | |
$joinTableList | JoinTableListForm | |
$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 9
- method-call Writer::comments() line 46
- method-call Writer::append() line 47
- method-call OptLowPriorityForm::write() line 49
- method-call OptIgnoreForm::write() line 51
- method-call JoinTableListForm::write() line 53
- method-call UpdateListForm::write() line 57
- method-call OptWhereClauseForm::write() line 59
- method-call OptOrderClauseForm::write() line 61
- method-call OptSimpleLimitForm::write() line 63
public function withOptLowPriority(OptLowPriorityForm $optLowPriority): selfReturns a copy with a new optLowPriority, preserving every other field.
Parameters
$optLowPriority | OptLowPriorityForm |
Returns
selfCalls 1
- new
selfline 71
public function withOptIgnore(OptIgnoreForm $optIgnore): selfReturns a copy with a new optIgnore, preserving every other field.
Parameters
$optIgnore | OptIgnoreForm |
Returns
selfCalls 1
- new
selfline 79
public function withJoinTableList(JoinTableListForm $joinTableList): selfReturns a copy with a new joinTableList, preserving every other field.
Parameters
$joinTableList | JoinTableListForm |
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
public function withWhere(OptWhereClauseForm $where): selfReturns a copy with a new where, preserving every other field.
Parameters
$where | OptWhereClauseForm |
Returns
selfCalls 1
- new
selfline 103
public function withOrderBy(OptOrderClauseForm $orderBy): selfReturns a copy with a new orderBy, preserving every other field.
Parameters
$orderBy | OptOrderClauseForm |
Returns
selfCalls 1
- new
selfline 111
public function withOptSimpleLimit(OptSimpleLimitForm $optSimpleLimit): selfReturns a copy with a new optSimpleLimit, preserving every other field.
Parameters
$optSimpleLimit | OptSimpleLimitForm |
Returns
selfCalls 1
- new
selfline 119