classIdentitySetting
final class IdentitySetting
implements Node
uses Snapshot
Public API: explicitly declared with
@visibility public.SET with a sequence option of an identity column.
Mirrors the DefElem a SET SeqOptElem adds to AT_SetIdentity. Source: https://www.postgresql.org/docs/17/sql-altertable.html.
$statement = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('ALTER TABLE t ALTER a SET CYCLE');
$statement->statement->commands[0]->options[0]->option->kind // => \SqlSemantics\Platform\PostgreSql\Statement\Table\Sequence\SequenceFlagKind::CycleProperties§
public SequenceOption $optionMethods§
public function __construct(public SequenceOption $option)Parameters
$option | SequenceOption | The option |
public function render(Output $out): voidTest cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
IdentitySettingTestcalls