classSelectNoParensWithWithClauseSelectClauseOptSortClauseForLockingClauseOptSelectLimit_f1383c39
final class SelectNoParensWithWithClauseSelectClauseOptSortClauseForLockingClauseOptSelectLimit_f1383c39
implements ExplainableStmtForm, PreparableStmtForm, RuleActionListForm, RuleActionMultiForm, RuleActionStmtForm, RuleActionStmtOrEmptyForm, SelectStmtForm, InsertRestForm, ParseToplevelForm, RoutineBodyStmtForm, SelectNoParensForm, StmtForm, StmtmultiForm, ToplevelStmtForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The select_no_parens SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\SelectNoParensWithWithClauseSelectClauseOptSortClauseForLockingClauseOptSelectLimit_f1383c39 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public WithClauseForm $withpublic SelectClauseForm $selectClausepublic OptSortClauseForm $optSortClausepublic ForLockingClauseForm $forLockingClausepublic OptSelectLimitForm $optSelectLimitpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public WithClauseForm $with,
public SelectClauseForm $selectClause,
public OptSortClauseForm $optSortClause,
public ForLockingClauseForm $forLockingClause,
public OptSelectLimitForm $optSelectLimit,
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 | WithClauseForm | |
$selectClause | SelectClauseForm | |
$optSortClause | OptSortClauseForm | |
$forLockingClause | ForLockingClauseForm | |
$optSelectLimit | OptSelectLimitForm | |
$comments | Comments |
Calls 3
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 6
- method-call Writer::comments() line 42
- method-call WithClauseForm::write() line 43
- method-call SelectClauseForm::write() line 45
- method-call OptSortClauseForm::write() line 47
- method-call ForLockingClauseForm::write() line 49
- method-call OptSelectLimitForm::write() line 51
public function withWith(WithClauseForm $with): selfReturns a copy with a new with, preserving every other field.
Parameters
$with | WithClauseForm |
Returns
selfCalls 1
- new
selfline 59
public function withSelectClause(SelectClauseForm $selectClause): selfReturns a copy with a new selectClause, preserving every other field.
Parameters
$selectClause | SelectClauseForm |
Returns
selfCalls 1
- new
selfline 67
public function withOptSortClause(OptSortClauseForm $optSortClause): selfReturns a copy with a new optSortClause, preserving every other field.
Parameters
$optSortClause | OptSortClauseForm |
Returns
selfCalls 1
- new
selfline 75
public function withForLockingClause(ForLockingClauseForm $forLockingClause): selfReturns a copy with a new forLockingClause, preserving every other field.
Parameters
$forLockingClause | ForLockingClauseForm |
Returns
selfCalls 1
- new
selfline 83
public function withOptSelectLimit(OptSelectLimitForm $optSelectLimit): selfReturns a copy with a new optSelectLimit, preserving every other field.
Parameters
$optSelectLimit | OptSelectLimitForm |
Returns
selfCalls 1
- new
selfline 91