enum WriteKind: string
Public API: explicitly declared with @visibility public.

The ways a statement can write a column: by inserting a row or by updating one.

Source: https://sqlite.org/gencol.html.

Reading how a statement writes a generated columndoctest
$semantics = new \SqlSemantics\Platform\Sqlite\Semantics();
    $table = $semantics->analyze('CREATE TABLE t (a, b AS (a + 1))');
    $semantics->analyze('INSERT INTO t (b) VALUES (1)', [$table])->facts->diagnostics[0]->write // => \SqlSemantics\Platform\Sqlite\Statement\Mutation\Problem\WriteKind::Insert

Cases§

case Insert = 'cannot INSERT into generated column'
case Update = 'cannot UPDATE generated column'

Test cases 5§

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

Dedicated tests 1
Other tests reaching this symbol 4

Relations§

Constant reads 2
Type declarations 1