classViewStmtWithCreateOrReplaceOptTempViewQualifiedNameOptColumnListOptReloptionsAsSelectSt_dd1cc602
final class ViewStmtWithCreateOrReplaceOptTempViewQualifiedNameOptColumnListOptReloptionsAsSelectSt_dd1cc602
implements ViewStmtForm, ParseToplevelForm, RoutineBodyStmtForm, SchemaStmtForm, StmtForm, StmtmultiForm, ToplevelStmtForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The ViewStmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\ViewStmtWithCreateOrReplaceOptTempViewQualifiedNameOptColumnListOptReloptionsAsSelectSt_dd1cc602 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptTempForm $optTemppublic QualifiedNameForm $qualifiedNamepublic OptColumnListForm $optColumnListpublic OptReloptionsForm $optReloptionspublic SelectStmtForm $selectStmtpublic OptCheckOptionForm $optCheckOptionpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptTempForm $optTemp,
public QualifiedNameForm $qualifiedName,
public OptColumnListForm $optColumnList,
public OptReloptionsForm $optReloptions,
public SelectStmtForm $selectStmt,
public OptCheckOptionForm $optCheckOption,
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
$optTemp | OptTempForm | |
$qualifiedName | QualifiedNameForm | |
$optColumnList | OptColumnListForm | |
$optReloptions | OptReloptionsForm | |
$selectStmt | SelectStmtForm | |
$optCheckOption | OptCheckOptionForm | |
$comments | Comments |
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 8
- method-call Writer::comments() line 44
- method-call Writer::append() line 45
- method-call OptTempForm::write() line 51
- method-call QualifiedNameForm::write() line 55
- method-call OptColumnListForm::write() line 57
- method-call OptReloptionsForm::write() line 59
- method-call SelectStmtForm::write() line 63
- method-call OptCheckOptionForm::write() line 65
public function withOptTemp(OptTempForm $optTemp): selfReturns a copy with a new optTemp, preserving every other field.
Parameters
$optTemp | OptTempForm |
Returns
selfCalls 1
- new
selfline 73
public function withQualifiedName(QualifiedNameForm $qualifiedName): selfReturns a copy with a new qualifiedName, preserving every other field.
Parameters
$qualifiedName | QualifiedNameForm |
Returns
selfCalls 1
- new
selfline 81
public function withOptColumnList(OptColumnListForm $optColumnList): selfReturns a copy with a new optColumnList, preserving every other field.
Parameters
$optColumnList | OptColumnListForm |
Returns
selfCalls 1
- new
selfline 89
public function withOptReloptions(OptReloptionsForm $optReloptions): selfReturns a copy with a new optReloptions, preserving every other field.
Parameters
$optReloptions | OptReloptionsForm |
Returns
selfCalls 1
- new
selfline 97
public function withSelectStmt(SelectStmtForm $selectStmt): selfReturns a copy with a new selectStmt, preserving every other field.
Parameters
$selectStmt | SelectStmtForm |
Returns
selfCalls 1
- new
selfline 105
public function withOptCheckOption(OptCheckOptionForm $optCheckOption): selfReturns a copy with a new optCheckOption, preserving every other field.
Parameters
$optCheckOption | OptCheckOptionForm |
Returns
selfCalls 1
- new
selfline 113