classDeleteStmtWithDeleteSymOptDeleteOptionsTableAliasRefListFromJoinTableListOptWhereClause_ca75c71f
final class DeleteStmtWithDeleteSymOptDeleteOptionsTableAliasRefListFromJoinTableListOptWhereClause_ca75c71f
implements DeleteStmtForm, EvSqlStmtForm, EvSqlStmtInnerForm, ExplainableCommandForm, ExplainableStmtForm, SimpleStatementForm, SimpleStatementOrBeginForm, SpProcStmtForm, SpProcStmtStatementForm, StatementForm, StoredRoutineBodyForm, VerbClauseForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The delete_stmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\DeleteStmtWithDeleteSymOptDeleteOptionsTableAliasRefListFromJoinTableListOptWhereClause_ca75c71f $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptDeleteOptionsForm $optDeleteOptionspublic TableAliasRefListForm $tableAliasRefListpublic JoinTableListForm $joinTableListpublic OptWhereClauseForm $wherepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptDeleteOptionsForm $optDeleteOptions,
public TableAliasRefListForm $tableAliasRefList,
public JoinTableListForm $joinTableList,
public OptWhereClauseForm $where,
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
$optDeleteOptions | OptDeleteOptionsForm | |
$tableAliasRefList | TableAliasRefListForm | |
$joinTableList | JoinTableListForm | |
$where | OptWhereClauseForm | |
$comments | Comments |
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 6
- method-call Writer::comments() line 40
- method-call Writer::append() line 41
- method-call OptDeleteOptionsForm::write() line 43
- method-call TableAliasRefListForm::write() line 45
- method-call JoinTableListForm::write() line 49
- method-call OptWhereClauseForm::write() line 51
public function withOptDeleteOptions(OptDeleteOptionsForm $optDeleteOptions): selfReturns a copy with a new optDeleteOptions, preserving every other field.
Parameters
$optDeleteOptions | OptDeleteOptionsForm |
Returns
selfCalls 1
- new
selfline 59
public function withTableAliasRefList(TableAliasRefListForm $tableAliasRefList): selfReturns a copy with a new tableAliasRefList, preserving every other field.
Parameters
$tableAliasRefList | TableAliasRefListForm |
Returns
selfCalls 1
- new
selfline 67
public function withJoinTableList(JoinTableListForm $joinTableList): selfReturns a copy with a new joinTableList, preserving every other field.
Parameters
$joinTableList | JoinTableListForm |
Returns
selfCalls 1
- new
selfline 75
public function withWhere(OptWhereClauseForm $where): selfReturns a copy with a new where, preserving every other field.
Parameters
$where | OptWhereClauseForm |
Returns
selfCalls 1
- new
selfline 83