classCreateFdwStmtWithCreateForeignDataPWrapperNameOptFdwOptionsCreateGenericOptions_5cf8e4b7
final class CreateFdwStmtWithCreateForeignDataPWrapperNameOptFdwOptionsCreateGenericOptions_5cf8e4b7
implements CreateFdwStmtForm, ParseToplevelForm, RoutineBodyStmtForm, StmtForm, StmtmultiForm, ToplevelStmtForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The CreateFdwStmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\CreateFdwStmtWithCreateForeignDataPWrapperNameOptFdwOptionsCreateGenericOptions_5cf8e4b7 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public NameForm $namepublic OptFdwOptionsForm $optFdwOptionspublic CreateGenericOptionsForm $createGenericOptionspublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public NameForm $name,
public OptFdwOptionsForm $optFdwOptions,
public CreateGenericOptionsForm $createGenericOptions,
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
$name | NameForm | |
$optFdwOptions | OptFdwOptionsForm | |
$createGenericOptions | CreateGenericOptionsForm | |
$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 Writer::append() line 39
- method-call NameForm::write() line 47
- method-call OptFdwOptionsForm::write() line 49
- method-call CreateGenericOptionsForm::write() line 51
public function withName(NameForm $name): selfpublic function withOptFdwOptions(OptFdwOptionsForm $optFdwOptions): selfReturns a copy with a new optFdwOptions, preserving every other field.
Parameters
$optFdwOptions | OptFdwOptionsForm |
Returns
selfCalls 1
- new
selfline 67
public function withCreateGenericOptions(CreateGenericOptionsForm $createGenericOptions): selfReturns a copy with a new createGenericOptions, preserving every other field.
Parameters
$createGenericOptions | CreateGenericOptionsForm |
Returns
selfCalls 1
- new
selfline 75