classUpdateWithUpdateSymOptLowPriorityOptIgnoreJoinTableListSetUpdateListWhereClauseOptOrd_b0fe6c0d
final class UpdateWithUpdateSymOptLowPriorityOptIgnoreJoinTableListSetUpdateListWhereClauseOptOrd_b0fe6c0d
implements EvSqlStmtForm, EvSqlStmtInnerForm, ExplanableCommandForm, SpProcStmtForm, SpProcStmtStatementForm, StatementForm, StoredRoutineBodyForm, UpdateForm, VerbClauseForm
uses Assertion
Public API: explicitly declared with
@visibility public.The update SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\UpdateWithUpdateSymOptLowPriorityOptIgnoreJoinTableListSetUpdateListWhereClauseOptOrd_b0fe6c0d $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptLowPriorityForm $optLowPrioritypublic OptIgnoreForm $optIgnorepublic JoinTableListForm $joinTableListpublic UpdateListForm $updateListpublic WhereClauseForm $wherepublic OptOrderClauseForm $orderBypublic DeleteLimitClauseForm $deleteLimitClausepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptLowPriorityForm $optLowPriority,
public OptIgnoreForm $optIgnore,
public JoinTableListForm $joinTableList,
public UpdateListForm $updateList,
public WhereClauseForm $where,
public OptOrderClauseForm $orderBy,
public DeleteLimitClauseForm $deleteLimitClause,
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 | WhereClauseForm | |
$orderBy | OptOrderClauseForm | |
$deleteLimitClause | DeleteLimitClauseForm | |
$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 WhereClauseForm::write() line 59
- method-call OptOrderClauseForm::write() line 61
- method-call DeleteLimitClauseForm::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(WhereClauseForm $where): selfReturns a copy with a new where, preserving every other field.
Parameters
$where | WhereClauseForm |
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 withDeleteLimitClause(DeleteLimitClauseForm $deleteLimitClause): selfReturns a copy with a new deleteLimitClause, preserving every other field.
Parameters
$deleteLimitClause | DeleteLimitClauseForm |
Returns
selfCalls 1
- new
selfline 119