classFuncExprCommonSubexprWithJsonObjectJsonNameAndValueListJsonObjectConstructorNullClauseOptJsonKeyUniq_bcbc04dd

final class FuncExprCommonSubexprWithJsonObjectJsonNameAndValueListJsonObjectConstructorNullClauseOptJsonKeyUniq_bcbc04dd
    implements AExprForm, BExprForm, CExprForm, CaseArgForm, ExprListForm, FuncArgExprForm, FuncArgListForm, FuncArgListOptForm, FuncExprForm, FuncExprCommonSubexprForm, FuncExprWindowlessForm, GroupByItemForm, GroupByListForm, OptSliceBoundForm, OptTargetListForm, SelectFetchFirstValueForm, SelectLimitValueForm, SelectOffsetValueForm, StatsParamForm, StatsParamsForm, TargetElForm, TargetListForm, TrimListForm, XmlAttributeElForm, XmlAttributeListForm
    uses Assertion
Public API: explicitly declared with @visibility public.

The func_expr_common_subexpr SQL value; generated by bin/build-models.php.

Accept a structured SQL valuedoctest
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\FuncExprCommonSubexprWithJsonObjectJsonNameAndValueListJsonObjectConstructorNullClauseOptJsonKeyUniq_bcbc04dd $value): string => \SqlSemantics\Statement\Writer::render($value);
    $write instanceof \Closure // => true

Properties§

public JsonNameAndValueListForm $jsonNameAndValueList
public JsonObjectConstructorNullClauseOptForm $jsonObjectConstructorNullClauseOpt
public JsonKeyUniquenessConstraintOptForm $jsonKeyUniquenessConstraintOpt
public JsonReturningClauseOptForm $jsonReturningClauseOpt
public Comments $comments = new \SqlSemantics\Statement\Comments()

Methods§

public function __construct(
    public JsonNameAndValueListForm $jsonNameAndValueList,
    public JsonObjectConstructorNullClauseOptForm $jsonObjectConstructorNullClauseOpt,
    public JsonKeyUniquenessConstraintOptForm $jsonKeyUniquenessConstraintOpt,
    public JsonReturningClauseOptForm $jsonReturningClauseOpt,
    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

$jsonNameAndValueListJsonNameAndValueListForm
$jsonObjectConstructorNullClauseOptJsonObjectConstructorNullClauseOptForm
$jsonKeyUniquenessConstraintOptJsonKeyUniquenessConstraintOptForm
$jsonReturningClauseOptJsonReturningClauseOptForm
$commentsComments
Calls 3
public function write(Writer $writer): void
public function withJsonNameAndValueList(JsonNameAndValueListForm $jsonNameAndValueList): self

Returns a copy with a new jsonNameAndValueList, preserving every other field.

Parameters

$jsonNameAndValueListJsonNameAndValueListForm

Returns

self
Calls 1
public function withJsonObjectConstructorNullClauseOpt(JsonObjectConstructorNullClauseOptForm $jsonObjectConstructorNullClauseOpt): self

Returns a copy with a new jsonObjectConstructorNullClauseOpt, preserving every other field.

Parameters

$jsonObjectConstructorNullClauseOptJsonObjectConstructorNullClauseOptForm

Returns

self
Calls 1
public function withJsonKeyUniquenessConstraintOpt(JsonKeyUniquenessConstraintOptForm $jsonKeyUniquenessConstraintOpt): self

Returns a copy with a new jsonKeyUniquenessConstraintOpt, preserving every other field.

Parameters

$jsonKeyUniquenessConstraintOptJsonKeyUniquenessConstraintOptForm

Returns

self
Calls 1
public function withJsonReturningClauseOpt(JsonReturningClauseOptForm $jsonReturningClauseOpt): self

Returns a copy with a new jsonReturningClauseOpt, preserving every other field.

Parameters

$jsonReturningClauseOptJsonReturningClauseOptForm

Returns

self
Calls 1
public function withComments(Comments $comments): self

Returns a copy with a new comments, preserving every other field.

Parameters

$commentsComments

Returns

self
Calls 1