enum OptionSyntax
Public API: explicitly declared with @visibility public.

How the options of a utility command are written.

The current syntax writes any options in a parenthesized list, each with an optional value. The older syntax writes a few options as bare words in a fixed order directly after the command. Both name the same options. Source: https://www.postgresql.org/docs/17/sql-vacuum.html, https://www.postgresql.org/docs/17/sql-explain.html.

Reading the syntax of a VACUUM written with wordsdoctest
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('VACUUM FULL VERBOSE');
    $operation->statement->syntax // => \SqlSemantics\Platform\PostgreSql\Statement\Utility\Maintenance\OptionSyntax::Words

Cases§

case Words
case Parenthesized

Test cases 3§

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 2

Relations§

Constant reads 17
Type declarations 6