classFuncApplicationWithFuncNameVariadicFuncArgExprOptSortClause_34b1f01e
final class FuncApplicationWithFuncNameVariadicFuncArgExprOptSortClause_34b1f01e
implements FuncApplicationForm, FuncExprWindowlessForm, StatsParamForm, StatsParamsForm
uses Assertion
Public API: explicitly declared with
@visibility public.The func_application SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\FuncApplicationWithFuncNameVariadicFuncArgExprOptSortClause_34b1f01e $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public FuncNameForm $funcNamepublic FuncArgExprForm $funcArgExprpublic OptSortClauseForm $optSortClausepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public FuncNameForm $funcName,
public FuncArgExprForm $funcArgExpr,
public OptSortClauseForm $optSortClause,
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
$funcName | FuncNameForm | |
$funcArgExpr | FuncArgExprForm | |
$optSortClause | OptSortClauseForm | |
$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 38
- method-call FuncNameForm::write() line 39
- method-call Writer::append() line 41
- method-call FuncArgExprForm::write() line 45
- method-call OptSortClauseForm::write() line 47
public function withFuncName(FuncNameForm $funcName): selfReturns a copy with a new funcName, preserving every other field.
Parameters
$funcName | FuncNameForm |
Returns
selfCalls 1
- new
selfline 57
public function withFuncArgExpr(FuncArgExprForm $funcArgExpr): selfReturns a copy with a new funcArgExpr, preserving every other field.
Parameters
$funcArgExpr | FuncArgExprForm |
Returns
selfCalls 1
- new
selfline 65
public function withOptSortClause(OptSortClauseForm $optSortClause): selfReturns a copy with a new optSortClause, preserving every other field.
Parameters
$optSortClause | OptSortClauseForm |
Returns
selfCalls 1
- new
selfline 73