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.

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

Properties§

public ColumnListForm $columnList
public ColIdForm $colId
public AexprConstForm $aexprConst
public AexprConstForm $aexprConst2
public ColIdForm $colId2
public 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

$columnListColumnListForm
$colIdColIdForm
$aexprConstAexprConstForm
$aexprConst2AexprConstForm
$colId2ColIdForm
$commentsComments
Calls 3
public function write(Writer $writer): void

Writes SQL entirely from this value's fields.

Parameters

$writerWriter
Calls 5
public function withColumnList(ColumnListForm $columnList): self

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

Parameters

$columnListColumnListForm

Returns

self
Calls 1
public function withColId(ColIdForm $colId): self

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

Parameters

$colIdColIdForm

Returns

self
Calls 1
public function withAexprConst(AexprConstForm $aexprConst): self

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

Parameters

$aexprConstAexprConstForm

Returns

self
Calls 1
public function withAexprConst2(AexprConstForm $aexprConst2): self

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

Parameters

$aexprConst2AexprConstForm

Returns

self
Calls 1
public function withColId2(ColIdForm $colId2): self

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

Parameters

$colId2ColIdForm

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