classSelectNoParensWithSelectClauseOptSortClauseForLockingClauseOptSelectLimit_ba938154
final class SelectNoParensWithSelectClauseOptSortClauseForLockingClauseOptSelectLimit_ba938154
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\SelectNoParensWithSelectClauseOptSortClauseForLockingClauseOptSelectLimit_ba938154 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public SelectClauseForm $selectClausepublic OptSortClauseForm $optSortClausepublic ForLockingClauseForm $forLockingClausepublic OptSelectLimitForm $optSelectLimitpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
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
$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 5
- method-call Writer::comments() line 40
- method-call SelectClauseForm::write() line 41
- method-call OptSortClauseForm::write() line 43
- method-call ForLockingClauseForm::write() line 45
- method-call OptSelectLimitForm::write() line 47
public function withSelectClause(SelectClauseForm $selectClause): selfReturns a copy with a new selectClause, preserving every other field.
Parameters
$selectClause | SelectClauseForm |
Returns
selfCalls 1
- new
selfline 55
public function withOptSortClause(OptSortClauseForm $optSortClause): selfReturns a copy with a new optSortClause, preserving every other field.
Parameters
$optSortClause | OptSortClauseForm |
Returns
selfCalls 1
- new
selfline 63
public function withForLockingClause(ForLockingClauseForm $forLockingClause): selfReturns a copy with a new forLockingClause, preserving every other field.
Parameters
$forLockingClause | ForLockingClauseForm |
Returns
selfCalls 1
- new
selfline 71
public function withOptSelectLimit(OptSelectLimitForm $optSelectLimit): selfReturns a copy with a new optSelectLimit, preserving every other field.
Parameters
$optSelectLimit | OptSelectLimitForm |
Returns
selfCalls 1
- new
selfline 79