classSelectNoParensWithWithClauseSelectClauseOptSortClauseSelectLimitOptForLockingClause_3ceeb32e
final class SelectNoParensWithWithClauseSelectClauseOptSortClauseSelectLimitOptForLockingClause_3ceeb32e
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\SelectNoParensWithWithClauseSelectClauseOptSortClauseSelectLimitOptForLockingClause_3ceeb32e $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public WithClauseForm $withpublic SelectClauseForm $selectClausepublic OptSortClauseForm $optSortClausepublic SelectLimitForm $selectLimitpublic OptForLockingClauseForm $optForLockingClausepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public WithClauseForm $with,
public SelectClauseForm $selectClause,
public OptSortClauseForm $optSortClause,
public SelectLimitForm $selectLimit,
public OptForLockingClauseForm $optForLockingClause,
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 | |
$selectLimit | SelectLimitForm | |
$optForLockingClause | OptForLockingClauseForm | |
$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 SelectLimitForm::write() line 49
- method-call OptForLockingClauseForm::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 withSelectLimit(SelectLimitForm $selectLimit): selfReturns a copy with a new selectLimit, preserving every other field.
Parameters
$selectLimit | SelectLimitForm |
Returns
selfCalls 1
- new
selfline 83
public function withOptForLockingClause(OptForLockingClauseForm $optForLockingClause): selfReturns a copy with a new optForLockingClause, preserving every other field.
Parameters
$optForLockingClause | OptForLockingClauseForm |
Returns
selfCalls 1
- new
selfline 91