enumPragmaKeyword
enum PragmaKeyword: string
Public API: explicitly declared with
@visibility public.A keyword the grammar accepts as a pragma value although it is reserved elsewhere.
Source: https://sqlite.org/syntax/pragma-value.html.
$pragma = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('PRAGMA journal_mode = DELETE');
$pragma->statement->value // => \SqlSemantics\Platform\Sqlite\Statement\Maintenance\PragmaKeyword::DeleteCases§
case On = 'ON'case Delete = 'DELETE'case Default = 'DEFAULT'Test cases 4§
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 3
Relations§
Constant reads 3
- class-const SqlSemantics\Platform\Sqlite\Lowering\Definition\MaintenanceRule::value() packages/sql-semantics-sqlite/src/Lowering/Definition/MaintenanceRule.php:91
- class-const SqlSemantics\Platform\Sqlite\Lowering\Definition\MaintenanceRule::value() packages/sql-semantics-sqlite/src/Lowering/Definition/MaintenanceRule.php:92
- class-const SqlSemantics\Platform\Sqlite\Lowering\Definition\MaintenanceRule::value() packages/sql-semantics-sqlite/src/Lowering/Definition/MaintenanceRule.php:93