classDeleteStmtWithDeleteSymOptDeleteOptionsFromTableIdentOptUsePartitionOptWhereClauseOptOrde_fd688d4f
final class DeleteStmtWithDeleteSymOptDeleteOptionsFromTableIdentOptUsePartitionOptWhereClauseOptOrde_fd688d4f
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\DeleteStmtWithDeleteSymOptDeleteOptionsFromTableIdentOptUsePartitionOptWhereClauseOptOrde_fd688d4f $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptDeleteOptionsForm $optDeleteOptionspublic TableIdentForm $tableIdentpublic OptUsePartitionForm $optUsePartitionpublic OptWhereClauseForm $wherepublic OptOrderClauseForm $orderBypublic OptSimpleLimitForm $optSimpleLimitpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptDeleteOptionsForm $optDeleteOptions,
public TableIdentForm $tableIdent,
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
$optDeleteOptions | OptDeleteOptionsForm | |
$tableIdent | TableIdentForm | |
$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 8
- method-call Writer::comments() line 44
- method-call Writer::append() line 45
- method-call OptDeleteOptionsForm::write() line 47
- method-call TableIdentForm::write() line 51
- method-call OptUsePartitionForm::write() line 53
- method-call OptWhereClauseForm::write() line 55
- method-call OptOrderClauseForm::write() line 57
- method-call OptSimpleLimitForm::write() line 59
public function withOptDeleteOptions(OptDeleteOptionsForm $optDeleteOptions): selfReturns a copy with a new optDeleteOptions, preserving every other field.
Parameters
$optDeleteOptions | OptDeleteOptionsForm |
Returns
selfCalls 1
- new
selfline 67
public function withTableIdent(TableIdentForm $tableIdent): selfReturns a copy with a new tableIdent, preserving every other field.
Parameters
$tableIdent | TableIdentForm |
Returns
selfCalls 1
- new
selfline 75
public function withOptUsePartition(OptUsePartitionForm $optUsePartition): selfReturns a copy with a new optUsePartition, preserving every other field.
Parameters
$optUsePartition | OptUsePartitionForm |
Returns
selfCalls 1
- new
selfline 83
public function withWhere(OptWhereClauseForm $where): selfReturns a copy with a new where, preserving every other field.
Parameters
$where | OptWhereClauseForm |
Returns
selfCalls 1
- new
selfline 91
public function withOrderBy(OptOrderClauseForm $orderBy): selfReturns a copy with a new orderBy, preserving every other field.
Parameters
$orderBy | OptOrderClauseForm |
Returns
selfCalls 1
- new
selfline 99
public function withOptSimpleLimit(OptSimpleLimitForm $optSimpleLimit): selfReturns a copy with a new optSimpleLimit, preserving every other field.
Parameters
$optSimpleLimit | OptSimpleLimitForm |
Returns
selfCalls 1
- new
selfline 107