classCreateStatsStmtWithCreateStatisticsIfPNotExistsAnyNameOptNameListOnStatsParamsFromFromList_0c15b7f6
final class CreateStatsStmtWithCreateStatisticsIfPNotExistsAnyNameOptNameListOnStatsParamsFromFromList_0c15b7f6
implements CreateStatsStmtForm, ParseToplevelForm, RoutineBodyStmtForm, StmtForm, StmtmultiForm, ToplevelStmtForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The CreateStatsStmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\CreateStatsStmtWithCreateStatisticsIfPNotExistsAnyNameOptNameListOnStatsParamsFromFromList_0c15b7f6 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public AnyNameForm $anyNamepublic OptNameListForm $optNameListpublic StatsParamsForm $statsParamspublic FromListForm $fromListpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public AnyNameForm $anyName,
public OptNameListForm $optNameList,
public StatsParamsForm $statsParams,
public FromListForm $fromList,
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
$anyName | AnyNameForm | |
$optNameList | OptNameListForm | |
$statsParams | StatsParamsForm | |
$fromList | FromListForm | |
$comments | Comments |
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 6
- method-call Writer::comments() line 40
- method-call Writer::append() line 41
- method-call AnyNameForm::write() line 51
- method-call OptNameListForm::write() line 53
- method-call StatsParamsForm::write() line 57
- method-call FromListForm::write() line 61
public function withAnyName(AnyNameForm $anyName): selfReturns a copy with a new anyName, preserving every other field.
Parameters
$anyName | AnyNameForm |
Returns
selfCalls 1
- new
selfline 69
public function withOptNameList(OptNameListForm $optNameList): selfReturns a copy with a new optNameList, preserving every other field.
Parameters
$optNameList | OptNameListForm |
Returns
selfCalls 1
- new
selfline 77
public function withStatsParams(StatsParamsForm $statsParams): selfReturns a copy with a new statsParams, preserving every other field.
Parameters
$statsParams | StatsParamsForm |
Returns
selfCalls 1
- new
selfline 85
public function withFromList(FromListForm $fromList): selfReturns a copy with a new fromList, preserving every other field.
Parameters
$fromList | FromListForm |
Returns
selfCalls 1
- new
selfline 93