final class TableKey
Restricted visibility: declared "@visibility SqlSemantics\Platform\Sqlite". Code outside that scope must not name this declaration.

What the primary key constraints of a table definition establish; a working value of one derivation.

Properties§

public list<int> $columns = []
public int|null $rowid = null
public int $constraints = 0
public bool $autoincrement = false

Methods§

public function __construct(
    public list<int> $columns = [],
    public int|null $rowid = null,
    public int $constraints = 0,
    public bool $autoincrement = false,
)

Parameters

$columnslist<int>The positions of the columns of the first primary key, in key order
$rowidint|nullThe position of the column that the first primary key makes an integer primary key
$constraintsintHow many PRIMARY KEY constraints the definition writes
$autoincrementboolWhether the first primary key is written with AUTOINCREMENT

Test cases 3§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 2
Other tests reaching this symbol 1

Relations§

Instantiated in 3
Type declarations 5