classJsonTableColumnDefinitionWithNestedPathOptSconstColumnsJsonTableColumnDefinitionList_e388a50b
final class JsonTableColumnDefinitionWithNestedPathOptSconstColumnsJsonTableColumnDefinitionList_e388a50b
implements JsonTableColumnDefinitionForm, JsonTableColumnDefinitionListForm
uses Assertion
Public API: explicitly declared with
@visibility public.The json_table_column_definition SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\JsonTableColumnDefinitionWithNestedPathOptSconstColumnsJsonTableColumnDefinitionList_e388a50b $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public PathOptForm $pathOptpublic SconstForm $sconstpublic JsonTableColumnDefinitionListForm $jsonTableColumnDefinitionListpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public PathOptForm $pathOpt,
public SconstForm $sconst,
public JsonTableColumnDefinitionListForm $jsonTableColumnDefinitionList,
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
$pathOpt | PathOptForm | |
$sconst | SconstForm | |
$jsonTableColumnDefinitionList | JsonTableColumnDefinitionListForm | |
$comments | Comments |
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 PathOptForm::write() line 41
- method-call SconstForm::write() line 43
- method-call JsonTableColumnDefinitionListForm::write() line 49
public function withPathOpt(PathOptForm $pathOpt): selfReturns a copy with a new pathOpt, preserving every other field.
Parameters
$pathOpt | PathOptForm |
Returns
selfCalls 1
- new
selfline 59
public function withSconst(SconstForm $sconst): selfReturns a copy with a new sconst, preserving every other field.
Parameters
$sconst | SconstForm |
Returns
selfCalls 1
- new
selfline 67
public function withJsonTableColumnDefinitionList(JsonTableColumnDefinitionListForm $jsonTableColumnDefinitionList): selfReturns a copy with a new jsonTableColumnDefinitionList, preserving every other field.
Parameters
$jsonTableColumnDefinitionList | JsonTableColumnDefinitionListForm |
Returns
selfCalls 1
- new
selfline 75