classOptCycleClauseWithCycleColumnListSetColIdUsingColId_d6acad95
final class OptCycleClauseWithCycleColumnListSetColIdUsingColId_d6acad95
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\OptCycleClauseWithCycleColumnListSetColIdUsingColId_d6acad95 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public ColumnListForm $columnListpublic ColIdForm $colIdpublic ColIdForm $colId2public Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public ColumnListForm $columnList,
public ColIdForm $colId,
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 | |
$colId2 | ColIdForm | |
$comments | Comments |
Calls 3
- new Comments line 26
- method-call OptCycleClauseWithCycleColumnListSetColIdUsingColId_d6acad95::assert() line 28
- static-call Contracts::contains() line 28
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 4
- method-call Writer::comments() line 38
- method-call Writer::append() line 39
- method-call ColumnListForm::write() line 41
- method-call ColIdForm::write() line 45
public function withColumnList(ColumnListForm $columnList): selfReturns a copy with a new columnList, preserving every other field.
Parameters
$columnList | ColumnListForm |
Returns
selfCalls 1
- new
selfline 57
public function withColId(ColIdForm $colId): selfpublic function withColId2(ColIdForm $colId2): self