classViewStmtWithCreateOptTempRecursiveViewQualifiedNameColumnListOptReloptionsAsSelectStmtO_7d884500
final class ViewStmtWithCreateOptTempRecursiveViewQualifiedNameColumnListOptReloptionsAsSelectStmtO_7d884500
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\ViewStmtWithCreateOptTempRecursiveViewQualifiedNameColumnListOptReloptionsAsSelectStmtO_7d884500 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptTempForm $optTemppublic QualifiedNameForm $qualifiedNamepublic ColumnListForm $columnListpublic OptReloptionsForm $optReloptionspublic SelectStmtForm $selectStmtpublic OptCheckOptionForm $optCheckOptionpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptTempForm $optTemp,
public QualifiedNameForm $qualifiedName,
public ColumnListForm $columnList,
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 | |
$columnList | ColumnListForm | |
$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 47
- method-call QualifiedNameForm::write() line 53
- method-call ColumnListForm::write() line 57
- method-call OptReloptionsForm::write() line 61
- method-call SelectStmtForm::write() line 65
- method-call OptCheckOptionForm::write() line 67
public function withOptTemp(OptTempForm $optTemp): selfReturns a copy with a new optTemp, preserving every other field.
Parameters
$optTemp | OptTempForm |
Returns
selfCalls 1
- new
selfline 75
public function withQualifiedName(QualifiedNameForm $qualifiedName): selfReturns a copy with a new qualifiedName, preserving every other field.
Parameters
$qualifiedName | QualifiedNameForm |
Returns
selfCalls 1
- new
selfline 83
public function withColumnList(ColumnListForm $columnList): selfReturns a copy with a new columnList, preserving every other field.
Parameters
$columnList | ColumnListForm |
Returns
selfCalls 1
- new
selfline 91
public function withOptReloptions(OptReloptionsForm $optReloptions): selfReturns a copy with a new optReloptions, preserving every other field.
Parameters
$optReloptions | OptReloptionsForm |
Returns
selfCalls 1
- new
selfline 99
public function withSelectStmt(SelectStmtForm $selectStmt): selfReturns a copy with a new selectStmt, preserving every other field.
Parameters
$selectStmt | SelectStmtForm |
Returns
selfCalls 1
- new
selfline 107
public function withOptCheckOption(OptCheckOptionForm $optCheckOption): selfReturns a copy with a new optCheckOption, preserving every other field.
Parameters
$optCheckOption | OptCheckOptionForm |
Returns
selfCalls 1
- new
selfline 115