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.

Reading the keyword of SET TIME ZONE LOCALdoctest
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('SET TIME ZONE LOCAL');
    $operation->statement->zone // => \SqlSemantics\Platform\PostgreSql\Statement\Utility\Session\ZoneKeyword::Local

Cases§

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
Other tests reaching this symbol 1

Relations§

Constant reads 2
Type checks 1
Type declarations 2