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.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\FuncExprCommonSubexprWithJsonObjectJsonNameAndValueListJsonObjectConstructorNullClauseOptJsonKeyUniq_bcbc04dd $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public JsonNameAndValueListForm $jsonNameAndValueListpublic JsonObjectConstructorNullClauseOptForm $jsonObjectConstructorNullClauseOptpublic JsonKeyUniquenessConstraintOptForm $jsonKeyUniquenessConstraintOptpublic JsonReturningClauseOptForm $jsonReturningClauseOptpublic 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
$jsonNameAndValueList | JsonNameAndValueListForm | |
$jsonObjectConstructorNullClauseOpt | JsonObjectConstructorNullClauseOptForm | |
$jsonKeyUniquenessConstraintOpt | JsonKeyUniquenessConstraintOptForm | |
$jsonReturningClauseOpt | JsonReturningClauseOptForm | |
$comments | Comments |
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 JsonNameAndValueListForm::write() line 45
- method-call JsonObjectConstructorNullClauseOptForm::write() line 47
- method-call JsonKeyUniquenessConstraintOptForm::write() line 49
- method-call JsonReturningClauseOptForm::write() line 51
public function withJsonNameAndValueList(JsonNameAndValueListForm $jsonNameAndValueList): selfReturns a copy with a new jsonNameAndValueList, preserving every other field.
Parameters
$jsonNameAndValueList | JsonNameAndValueListForm |
Returns
selfCalls 1
- new
selfline 61
public function withJsonObjectConstructorNullClauseOpt(JsonObjectConstructorNullClauseOptForm $jsonObjectConstructorNullClauseOpt): selfReturns a copy with a new jsonObjectConstructorNullClauseOpt, preserving every other field.
Parameters
$jsonObjectConstructorNullClauseOpt | JsonObjectConstructorNullClauseOptForm |
Returns
selfCalls 1
- new
selfline 69
public function withJsonKeyUniquenessConstraintOpt(JsonKeyUniquenessConstraintOptForm $jsonKeyUniquenessConstraintOpt): selfReturns a copy with a new jsonKeyUniquenessConstraintOpt, preserving every other field.
Parameters
$jsonKeyUniquenessConstraintOpt | JsonKeyUniquenessConstraintOptForm |
Returns
selfCalls 1
- new
selfline 77
public function withJsonReturningClauseOpt(JsonReturningClauseOptForm $jsonReturningClauseOpt): selfReturns a copy with a new jsonReturningClauseOpt, preserving every other field.
Parameters
$jsonReturningClauseOpt | JsonReturningClauseOptForm |
Returns
selfCalls 1
- new
selfline 85