enumGeneratedStorage
enum GeneratedStorage: string
Public API: explicitly declared with
@visibility public.How a generated column keeps its values: VIRTUAL computes them when rows are read, STORED when rows are written.
Each case holds the keywords it is written with. Source: https://dev.mysql.com/doc/refman/8.4/en/create-table-generated-columns.html.
\SqlSemantics\Platform\MySql\Statement\Table\Column\Kind\GeneratedStorage::Stored->value // => 'STORED'Cases§
case Virtual = 'VIRTUAL'case Stored = 'STORED'Test cases 3§
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 2
Relations§
Constant reads 2
- class-const SqlSemantics\Platform\MySql\Lowering\TableDefinition\Column\ColumnRule::storage() packages/sql-semantics-mysql/src/Lowering/TableDefinition/Column/ColumnRule.php:198
- class-const SqlSemantics\Platform\MySql\Lowering\TableDefinition\Column\ColumnRule::storage() packages/sql-semantics-mysql/src/Lowering/TableDefinition/Column/ColumnRule.php:199
Type declarations 2
- type SqlSemantics\Platform\MySql\Lowering\TableDefinition\Column\ColumnRule packages/sql-semantics-mysql/src/Lowering/TableDefinition/Column/ColumnRule.php:192
- type SqlSemantics\Platform\MySql\Statement\Table\Column\GeneratedColumn packages/sql-semantics-mysql/src/Statement/Table/Column/GeneratedColumn.php:54