classDeleteStmtWithOptWithClauseDeleteSymOptDeleteOptionsFromTableAliasRefListUsingTableRefere_ab819022
final class DeleteStmtWithOptWithClauseDeleteSymOptDeleteOptionsFromTableAliasRefListUsingTableRefere_ab819022
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\DeleteStmtWithOptWithClauseDeleteSymOptDeleteOptionsFromTableAliasRefListUsingTableRefere_ab819022 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptWithClauseForm $withpublic OptDeleteOptionsForm $optDeleteOptionspublic TableAliasRefListForm $tableAliasRefListpublic TableReferenceListForm $tableReferenceListpublic OptWhereClauseForm $wherepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptWithClauseForm $with,
public OptDeleteOptionsForm $optDeleteOptions,
public TableAliasRefListForm $tableAliasRefList,
public TableReferenceListForm $tableReferenceList,
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
$with | OptWithClauseForm | |
$optDeleteOptions | OptDeleteOptionsForm | |
$tableAliasRefList | TableAliasRefListForm | |
$tableReferenceList | TableReferenceListForm | |
$where | OptWhereClauseForm | |
$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 OptWithClauseForm::write() line 43
- method-call Writer::append() line 45
- method-call OptDeleteOptionsForm::write() line 47
- method-call TableAliasRefListForm::write() line 51
- method-call TableReferenceListForm::write() line 55
- method-call OptWhereClauseForm::write() line 57
public function withWith(OptWithClauseForm $with): selfReturns a copy with a new with, preserving every other field.
Parameters
$with | OptWithClauseForm |
Returns
selfCalls 1
- new
selfline 65
public function withOptDeleteOptions(OptDeleteOptionsForm $optDeleteOptions): selfReturns a copy with a new optDeleteOptions, preserving every other field.
Parameters
$optDeleteOptions | OptDeleteOptionsForm |
Returns
selfCalls 1
- new
selfline 73
public function withTableAliasRefList(TableAliasRefListForm $tableAliasRefList): selfReturns a copy with a new tableAliasRefList, preserving every other field.
Parameters
$tableAliasRefList | TableAliasRefListForm |
Returns
selfCalls 1
- new
selfline 81
public function withTableReferenceList(TableReferenceListForm $tableReferenceList): selfReturns a copy with a new tableReferenceList, preserving every other field.
Parameters
$tableReferenceList | TableReferenceListForm |
Returns
selfCalls 1
- new
selfline 89
public function withWhere(OptWhereClauseForm $where): selfReturns a copy with a new where, preserving every other field.
Parameters
$where | OptWhereClauseForm |
Returns
selfCalls 1
- new
selfline 97