classDeleteStmtWithOptWithClauseDeleteSymOptDeleteOptionsFromTableIdentOptTableAliasOptUsePart_4c55cbf5
final class DeleteStmtWithOptWithClauseDeleteSymOptDeleteOptionsFromTableIdentOptTableAliasOptUsePart_4c55cbf5
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\DeleteStmtWithOptWithClauseDeleteSymOptDeleteOptionsFromTableIdentOptTableAliasOptUsePart_4c55cbf5 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptWithClauseForm $withpublic OptDeleteOptionsForm $optDeleteOptionspublic TableIdentForm $tableIdentpublic OptTableAliasForm $optTableAliaspublic OptUsePartitionForm $optUsePartitionpublic OptWhereClauseForm $wherepublic OptOrderClauseForm $orderBypublic OptSimpleLimitForm $optSimpleLimitpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptWithClauseForm $with,
public OptDeleteOptionsForm $optDeleteOptions,
public TableIdentForm $tableIdent,
public OptTableAliasForm $optTableAlias,
public OptUsePartitionForm $optUsePartition,
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 | |
$optDeleteOptions | OptDeleteOptionsForm | |
$tableIdent | TableIdentForm | |
$optTableAlias | OptTableAliasForm | |
$optUsePartition | OptUsePartitionForm | |
$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 OptDeleteOptionsForm::write() line 53
- method-call TableIdentForm::write() line 57
- method-call OptTableAliasForm::write() line 59
- method-call OptUsePartitionForm::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 withOptDeleteOptions(OptDeleteOptionsForm $optDeleteOptions): selfReturns a copy with a new optDeleteOptions, preserving every other field.
Parameters
$optDeleteOptions | OptDeleteOptionsForm |
Returns
selfCalls 1
- new
selfline 83
public function withTableIdent(TableIdentForm $tableIdent): selfReturns a copy with a new tableIdent, preserving every other field.
Parameters
$tableIdent | TableIdentForm |
Returns
selfCalls 1
- new
selfline 91
public function withOptTableAlias(OptTableAliasForm $optTableAlias): selfReturns a copy with a new optTableAlias, preserving every other field.
Parameters
$optTableAlias | OptTableAliasForm |
Returns
selfCalls 1
- new
selfline 99
public function withOptUsePartition(OptUsePartitionForm $optUsePartition): selfReturns a copy with a new optUsePartition, preserving every other field.
Parameters
$optUsePartition | OptUsePartitionForm |
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