enumGeneratedStorage
enum GeneratedStorage
Public API: explicitly declared with
@visibility public.Whether the value of a generated column is computed when read or stored when written.
Source: https://sqlite.org/gencol.html#virtual_versus_stored_columns.
$create = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('CREATE TABLE t (a, b AS (a + 1) STORED)');
$create->statement->columns[1]->constraints[0]->storage() // => \SqlSemantics\Platform\Sqlite\Statement\Schema\Column\GeneratedStorage::StoredCases§
case Virtualcase StoredTest cases 2§
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 1
Relations§
Constant reads 3
- class-const SqlSemantics\Platform\Sqlite\Rules\Definition\AlterationProblems::added() packages/sql-semantics-sqlite/src/Rules/Definition/AlterationProblems.php:116
- class-const SqlSemantics\Platform\Sqlite\Statement\Schema\Column\Generated::storage() packages/sql-semantics-sqlite/src/Statement/Schema/Column/Generated.php:61
- class-const SqlSemantics\Platform\Sqlite\Statement\Schema\Column\Generated::storage() packages/sql-semantics-sqlite/src/Statement/Schema/Column/Generated.php:64