enumSpecialParameter
enum SpecialParameter: string
Public API: explicitly declared with
@visibility public.What RESET and SHOW name with keywords instead of a parameter name.
TIME ZONE is the parameter timezone, TRANSACTION ISOLATION LEVEL is transaction_isolation, SESSION AUTHORIZATION is session_authorization, and ALL is every parameter. The value is the keyword spelling. Source: https://www.postgresql.org/docs/17/sql-reset.html, https://www.postgresql.org/docs/17/sql-show.html.
\SqlSemantics\Platform\PostgreSql\Statement\Utility\Session\SpecialParameter::TimeZone->parameter() // => 'timezone'Cases§
case All = 'ALL'case TimeZone = 'TIME ZONE'case TransactionIsolationLevel = 'TRANSACTION ISOLATION LEVEL'case SessionAuthorization = 'SESSION AUTHORIZATION'Methods§
public function parameter(): ?stringAnswers the name of the parameter the keywords stand for; null for ALL, which names every parameter.
Returns
?stringCalls 4
- class-const SpecialParameter::All() line 33
- class-const SpecialParameter::TimeZone() line 34
- class-const SpecialParameter::TransactionIsolationLevel() line 35
- class-const SpecialParameter::SessionAuthorization() line 36
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 13
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\SettingRule packages/sql-semantics-postgres/src/Lowering/Utility/SettingRule.php:60
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\SettingRule packages/sql-semantics-postgres/src/Lowering/Utility/SettingRule.php:61
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\SettingRule packages/sql-semantics-postgres/src/Lowering/Utility/SettingRule.php:62
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\SettingRule packages/sql-semantics-postgres/src/Lowering/Utility/SettingRule.php:63
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\SettingRule packages/sql-semantics-postgres/src/Lowering/Utility/SettingRule.php:64
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\SettingRule packages/sql-semantics-postgres/src/Lowering/Utility/SettingRule.php:65
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\SettingRule packages/sql-semantics-postgres/src/Lowering/Utility/SettingRule.php:66
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\SettingRule packages/sql-semantics-postgres/src/Lowering/Utility/SettingRule.php:67
- class-const SqlSemantics\Platform\PostgreSql\Statement\Utility\Session\AlterSystemSetting::__construct() packages/sql-semantics-postgres/src/Statement/Utility/Session/AlterSystemSetting.php:43
- class-const SqlSemantics\Platform\PostgreSql\Statement\Utility\Session\Show::deriveStatement() packages/sql-semantics-postgres/src/Statement/Utility/Session/Show.php:61
- class-const SqlSemantics\Platform\PostgreSql\Statement\Utility\Session\Show::deriveStatement() packages/sql-semantics-postgres/src/Statement/Utility/Session/Show.php:66
- class-const SqlSemantics\Platform\PostgreSql\Statement\Utility\Session\Show::deriveStatement() packages/sql-semantics-postgres/src/Statement/Utility/Session/Show.php:67
- class-const SqlSemantics\Platform\PostgreSql\Statement\Utility\Session\Show::deriveStatement() packages/sql-semantics-postgres/src/Statement/Utility/Session/Show.php:68
Type checks 2
- instanceof SqlSemantics\Platform\PostgreSql\Statement\Utility\Session\Reset::render() packages/sql-semantics-postgres/src/Statement/Utility/Session/Reset.php:49
- instanceof SqlSemantics\Platform\PostgreSql\Statement\Utility\Session\Show::render() packages/sql-semantics-postgres/src/Statement/Utility/Session/Show.php:80