enumZoneKeyword
enum ZoneKeyword: string
Public API: explicitly declared with
@visibility public.The keyword values of SET TIME ZONE.
LOCAL and DEFAULT both set the time zone to the value the session would have without the command; the value is the keyword. Source: https://www.postgresql.org/docs/17/sql-set.html.
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('SET TIME ZONE LOCAL');
$operation->statement->zone // => \SqlSemantics\Platform\PostgreSql\Statement\Utility\Session\ZoneKeyword::LocalCases§
case Default = 'DEFAULT'case Local = 'LOCAL'Test cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
ZoneKeywordTestcalls
Other tests reaching this symbol 1
Relations§
Constant reads 2
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\SettingRule::zone() packages/sql-semantics-postgres/src/Lowering/Utility/SettingRule.php:217
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\SettingRule::zone() packages/sql-semantics-postgres/src/Lowering/Utility/SettingRule.php:218