classSingleMultiWithFromTableIdentOptUsePartitionWhereClauseOptOrderClauseDeleteLimitClause_59df5ae1
final class SingleMultiWithFromTableIdentOptUsePartitionWhereClauseOptOrderClauseDeleteLimitClause_59df5ae1
implements SingleMultiForm
uses Assertion
Public API: explicitly declared with
@visibility public.The single_multi SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\SingleMultiWithFromTableIdentOptUsePartitionWhereClauseOptOrderClauseDeleteLimitClause_59df5ae1 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public TableIdentForm $tableIdentpublic OptUsePartitionForm $optUsePartitionpublic WhereClauseForm $wherepublic OptOrderClauseForm $orderBypublic DeleteLimitClauseForm $deleteLimitClausepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public TableIdentForm $tableIdent,
public OptUsePartitionForm $optUsePartition,
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
$tableIdent | TableIdentForm | |
$optUsePartition | OptUsePartitionForm | |
$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 7
- method-call Writer::comments() line 42
- method-call Writer::append() line 43
- method-call TableIdentForm::write() line 45
- method-call OptUsePartitionForm::write() line 47
- method-call WhereClauseForm::write() line 49
- method-call OptOrderClauseForm::write() line 51
- method-call DeleteLimitClauseForm::write() line 53
public function withTableIdent(TableIdentForm $tableIdent): selfReturns a copy with a new tableIdent, preserving every other field.
Parameters
$tableIdent | TableIdentForm |
Returns
selfCalls 1
- new
selfline 61
public function withOptUsePartition(OptUsePartitionForm $optUsePartition): selfReturns a copy with a new optUsePartition, preserving every other field.
Parameters
$optUsePartition | OptUsePartitionForm |
Returns
selfCalls 1
- new
selfline 69
public function withWhere(WhereClauseForm $where): selfReturns a copy with a new where, preserving every other field.
Parameters
$where | WhereClauseForm |
Returns
selfCalls 1
- new
selfline 77
public function withOrderBy(OptOrderClauseForm $orderBy): selfReturns a copy with a new orderBy, preserving every other field.
Parameters
$orderBy | OptOrderClauseForm |
Returns
selfCalls 1
- new
selfline 85
public function withDeleteLimitClause(DeleteLimitClauseForm $deleteLimitClause): selfReturns a copy with a new deleteLimitClause, preserving every other field.
Parameters
$deleteLimitClause | DeleteLimitClauseForm |
Returns
selfCalls 1
- new
selfline 93