classOptCycleClauseWithCycleColumnListSetColIdToAexprConstDefaultAexprConstUsingColId_93eb5ab1
final class OptCycleClauseWithCycleColumnListSetColIdToAexprConstDefaultAexprConstUsingColId_93eb5ab1
implements OptCycleClauseForm
uses Assertion
Public API: explicitly declared with
@visibility public.The opt_cycle_clause SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\OptCycleClauseWithCycleColumnListSetColIdToAexprConstDefaultAexprConstUsingColId_93eb5ab1 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public ColumnListForm $columnListpublic ColIdForm $colIdpublic AexprConstForm $aexprConstpublic AexprConstForm $aexprConst2public ColIdForm $colId2public Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public ColumnListForm $columnList,
public ColIdForm $colId,
public AexprConstForm $aexprConst,
public AexprConstForm $aexprConst2,
public ColIdForm $colId2,
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
$columnList | ColumnListForm | |
$colId | ColIdForm | |
$aexprConst | AexprConstForm | |
$aexprConst2 | AexprConstForm | |
$colId2 | ColIdForm | |
$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 42
- method-call Writer::append() line 43
- method-call ColumnListForm::write() line 45
- method-call ColIdForm::write() line 49
- method-call AexprConstForm::write() line 53
public function withColumnList(ColumnListForm $columnList): selfReturns a copy with a new columnList, preserving every other field.
Parameters
$columnList | ColumnListForm |
Returns
selfCalls 1
- new
selfline 69
public function withColId(ColIdForm $colId): selfpublic function withAexprConst(AexprConstForm $aexprConst): selfReturns a copy with a new aexprConst, preserving every other field.
Parameters
$aexprConst | AexprConstForm |
Returns
selfCalls 1
- new
selfline 85
public function withAexprConst2(AexprConstForm $aexprConst2): selfReturns a copy with a new aexprConst2, preserving every other field.
Parameters
$aexprConst2 | AexprConstForm |
Returns
selfCalls 1
- new
selfline 93
public function withColId2(ColIdForm $colId2): self