classDeleteStmtWithOptWithClauseDeletePFromRelationExprOptAliasUsingClauseWhereOrCurrentClause_e2ccd01f
final class DeleteStmtWithOptWithClauseDeletePFromRelationExprOptAliasUsingClauseWhereOrCurrentClause_e2ccd01f
implements DeleteStmtForm, ExplainableStmtForm, PreparableStmtForm, RuleActionListForm, RuleActionMultiForm, RuleActionStmtForm, RuleActionStmtOrEmptyForm, ParseToplevelForm, RoutineBodyStmtForm, StmtForm, StmtmultiForm, ToplevelStmtForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The DeleteStmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\DeleteStmtWithOptWithClauseDeletePFromRelationExprOptAliasUsingClauseWhereOrCurrentClause_e2ccd01f $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptWithClauseForm $withpublic RelationExprOptAliasForm $relationExprOptAliaspublic UsingClauseForm $usingClausepublic WhereOrCurrentClauseForm $whereOrCurrentClausepublic ReturningClauseForm $returningClausepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptWithClauseForm $with,
public RelationExprOptAliasForm $relationExprOptAlias,
public UsingClauseForm $usingClause,
public WhereOrCurrentClauseForm $whereOrCurrentClause,
public ReturningClauseForm $returningClause,
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 | |
$relationExprOptAlias | RelationExprOptAliasForm | |
$usingClause | UsingClauseForm | |
$whereOrCurrentClause | WhereOrCurrentClauseForm | |
$returningClause | ReturningClauseForm | |
$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 RelationExprOptAliasForm::write() line 49
- method-call UsingClauseForm::write() line 51
- method-call WhereOrCurrentClauseForm::write() line 53
- method-call ReturningClauseForm::write() line 55
public function withWith(OptWithClauseForm $with): selfReturns a copy with a new with, preserving every other field.
Parameters
$with | OptWithClauseForm |
Returns
selfCalls 1
- new
selfline 63
public function withRelationExprOptAlias(RelationExprOptAliasForm $relationExprOptAlias): selfReturns a copy with a new relationExprOptAlias, preserving every other field.
Parameters
$relationExprOptAlias | RelationExprOptAliasForm |
Returns
selfCalls 1
- new
selfline 71
public function withUsingClause(UsingClauseForm $usingClause): selfReturns a copy with a new usingClause, preserving every other field.
Parameters
$usingClause | UsingClauseForm |
Returns
selfCalls 1
- new
selfline 79
public function withWhereOrCurrentClause(WhereOrCurrentClauseForm $whereOrCurrentClause): selfReturns a copy with a new whereOrCurrentClause, preserving every other field.
Parameters
$whereOrCurrentClause | WhereOrCurrentClauseForm |
Returns
selfCalls 1
- new
selfline 87
public function withReturningClause(ReturningClauseForm $returningClause): selfReturns a copy with a new returningClause, preserving every other field.
Parameters
$returningClause | ReturningClauseForm |
Returns
selfCalls 1
- new
selfline 95