classCreateAsStmtWithCreateOptTempTableCreateAsTargetAsSelectStmtOptWithData_626e62c9
final class CreateAsStmtWithCreateOptTempTableCreateAsTargetAsSelectStmtOptWithData_626e62c9
implements CreateAsStmtForm, ExplainableStmtForm, ParseToplevelForm, RoutineBodyStmtForm, StmtForm, StmtmultiForm, ToplevelStmtForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The CreateAsStmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\CreateAsStmtWithCreateOptTempTableCreateAsTargetAsSelectStmtOptWithData_626e62c9 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptTempForm $optTemppublic CreateAsTargetForm $createAsTargetpublic SelectStmtForm $selectStmtpublic OptWithDataForm $optWithDatapublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptTempForm $optTemp,
public CreateAsTargetForm $createAsTarget,
public SelectStmtForm $selectStmt,
public OptWithDataForm $optWithData,
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 | |
$createAsTarget | CreateAsTargetForm | |
$selectStmt | SelectStmtForm | |
$optWithData | OptWithDataForm | |
$comments | Comments |
Calls 3
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 OptTempForm::write() line 43
- method-call CreateAsTargetForm::write() line 47
- method-call SelectStmtForm::write() line 51
- method-call OptWithDataForm::write() line 53
public function withOptTemp(OptTempForm $optTemp): selfReturns a copy with a new optTemp, preserving every other field.
Parameters
$optTemp | OptTempForm |
Returns
selfCalls 1
- new
selfline 61
public function withCreateAsTarget(CreateAsTargetForm $createAsTarget): selfReturns a copy with a new createAsTarget, preserving every other field.
Parameters
$createAsTarget | CreateAsTargetForm |
Returns
selfCalls 1
- new
selfline 69
public function withSelectStmt(SelectStmtForm $selectStmt): selfReturns a copy with a new selectStmt, preserving every other field.
Parameters
$selectStmt | SelectStmtForm |
Returns
selfCalls 1
- new
selfline 77
public function withOptWithData(OptWithDataForm $optWithData): selfReturns a copy with a new optWithData, preserving every other field.
Parameters
$optWithData | OptWithDataForm |
Returns
selfCalls 1
- new
selfline 85