enum OptionKeyword: string
Public API: explicitly declared with @visibility public.

The option names the grammar reads as keywords of their own.

ANALYZE is a reserved word with the British spelling ANALYSE; both name the option analyze. FORMAT directly before the word JSON is read as a keyword of its own and names the option format. Every other option name is an ordinary word. The value is the keyword. Source: https://www.postgresql.org/docs/17/sql-explain.html, https://www.postgresql.org/docs/17/sql-analyze.html.

Reading the option both spellings namedoctest
[\SqlSemantics\Platform\PostgreSql\Statement\Utility\Maintenance\OptionKeyword::Analyse->option(), \SqlSemantics\Platform\PostgreSql\Statement\Utility\Maintenance\OptionKeyword::Format->option()] // => ['analyze', 'format']

Cases§

case Analyze = 'ANALYZE'
case Analyse = 'ANALYSE'
case Format = 'FORMAT'

Methods§

public function option(): string

Answers the option name the keyword stands for.

Returns

string
Calls 3

Test cases 6§

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 5

Relations§

Constant reads 6
Type checks 3
Type declarations 4