classJsonTableWithJsonTableJsonValueExprAExprJsonTablePathNameOptJsonPassingClauseOptColumnsJ_ed7685d5
final class JsonTableWithJsonTableJsonValueExprAExprJsonTablePathNameOptJsonPassingClauseOptColumnsJ_ed7685d5
implements JsonTableForm
uses Assertion
Public API: explicitly declared with
@visibility public.The json_table SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\JsonTableWithJsonTableJsonValueExprAExprJsonTablePathNameOptJsonPassingClauseOptColumnsJ_ed7685d5 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public JsonValueExprForm $jsonValueExprpublic AExprForm $aExprpublic JsonTablePathNameOptForm $jsonTablePathNameOptpublic JsonPassingClauseOptForm $jsonPassingClauseOptpublic JsonTableColumnDefinitionListForm $jsonTableColumnDefinitionListpublic JsonOnErrorClauseOptForm $jsonOnErrorClauseOptpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public JsonValueExprForm $jsonValueExpr,
public AExprForm $aExpr,
public JsonTablePathNameOptForm $jsonTablePathNameOpt,
public JsonPassingClauseOptForm $jsonPassingClauseOpt,
public JsonTableColumnDefinitionListForm $jsonTableColumnDefinitionList,
public JsonOnErrorClauseOptForm $jsonOnErrorClauseOpt,
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
$jsonValueExpr | JsonValueExprForm | |
$aExpr | AExprForm | |
$jsonTablePathNameOpt | JsonTablePathNameOptForm | |
$jsonPassingClauseOpt | JsonPassingClauseOptForm | |
$jsonTableColumnDefinitionList | JsonTableColumnDefinitionListForm | |
$jsonOnErrorClauseOpt | JsonOnErrorClauseOptForm | |
$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 JsonValueExprForm::write() line 49
- method-call AExprForm::write() line 53
- method-call JsonTablePathNameOptForm::write() line 55
- method-call JsonPassingClauseOptForm::write() line 57
- method-call JsonTableColumnDefinitionListForm::write() line 63
- method-call JsonOnErrorClauseOptForm::write() line 67
public function withJsonValueExpr(JsonValueExprForm $jsonValueExpr): selfReturns a copy with a new jsonValueExpr, preserving every other field.
Parameters
$jsonValueExpr | JsonValueExprForm |
Returns
selfCalls 1
- new
selfline 77
public function withAExpr(AExprForm $aExpr): selfpublic function withJsonTablePathNameOpt(JsonTablePathNameOptForm $jsonTablePathNameOpt): selfReturns a copy with a new jsonTablePathNameOpt, preserving every other field.
Parameters
$jsonTablePathNameOpt | JsonTablePathNameOptForm |
Returns
selfCalls 1
- new
selfline 93
public function withJsonPassingClauseOpt(JsonPassingClauseOptForm $jsonPassingClauseOpt): selfReturns a copy with a new jsonPassingClauseOpt, preserving every other field.
Parameters
$jsonPassingClauseOpt | JsonPassingClauseOptForm |
Returns
selfCalls 1
- new
selfline 101
public function withJsonTableColumnDefinitionList(JsonTableColumnDefinitionListForm $jsonTableColumnDefinitionList): selfReturns a copy with a new jsonTableColumnDefinitionList, preserving every other field.
Parameters
$jsonTableColumnDefinitionList | JsonTableColumnDefinitionListForm |
Returns
selfCalls 1
- new
selfline 109
public function withJsonOnErrorClauseOpt(JsonOnErrorClauseOptForm $jsonOnErrorClauseOpt): selfReturns a copy with a new jsonOnErrorClauseOpt, preserving every other field.
Parameters
$jsonOnErrorClauseOpt | JsonOnErrorClauseOptForm |
Returns
selfCalls 1
- new
selfline 117