enumSchemaObjectKind
enum SchemaObjectKind: string
Public API: explicitly declared with
@visibility public.The kinds of schema objects a DROP statement removes.
Source: https://sqlite.org/lang_droptable.html, https://sqlite.org/lang_dropview.html, https://sqlite.org/lang_dropindex.html, https://sqlite.org/lang_droptrigger.html.
$drop = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('DROP VIEW v');
$drop->statement->object // => \SqlSemantics\Platform\Sqlite\Statement\Schema\SchemaObjectKind::ViewCases§
case Table = 'TABLE'case View = 'VIEW'case Index = 'INDEX'case Trigger = 'TRIGGER'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 7
- class-const SqlSemantics\Platform\Sqlite\Lowering\Definition\SchemaRule packages/sql-semantics-sqlite/src/Lowering/Definition/SchemaRule.php:45
- class-const SqlSemantics\Platform\Sqlite\Lowering\Definition\SchemaRule packages/sql-semantics-sqlite/src/Lowering/Definition/SchemaRule.php:46
- class-const SqlSemantics\Platform\Sqlite\Lowering\Definition\SchemaRule packages/sql-semantics-sqlite/src/Lowering/Definition/SchemaRule.php:47
- class-const SqlSemantics\Platform\Sqlite\Lowering\Definition\SchemaRule packages/sql-semantics-sqlite/src/Lowering/Definition/SchemaRule.php:48
- class-const SqlSemantics\Platform\Sqlite\Statement\Schema\Drop::deriveStatement() packages/sql-semantics-sqlite/src/Statement/Schema/Drop.php:62
- class-const SqlSemantics\Platform\Sqlite\Statement\Schema\Drop::deriveStatement() packages/sql-semantics-sqlite/src/Statement/Schema/Drop.php:62
- class-const SqlSemantics\Platform\Sqlite\Statement\Schema\Drop::deriveStatement() packages/sql-semantics-sqlite/src/Statement/Schema/Drop.php:66