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

A database option the grammar spells with keywords instead of an identifier.

Each spelling names the same option as the identifier the server turns it into, so CONNECTION LIMIT 5 and connection_limit 5 request the same. Source: https://www.postgresql.org/docs/17/sql-createdatabase.html.

Reading the option a keyword spelling namesdoctest
\SqlSemantics\Platform\PostgreSql\Statement\Catalog\Database\DatabaseOptionKeyword::ConnectionLimit->option() // => 'connection_limit'

Cases§

case ConnectionLimit = 'CONNECTION LIMIT'
case Encoding = 'ENCODING'
case Location = 'LOCATION'
case Owner = 'OWNER'
case Tablespace = 'TABLESPACE'
case Template = 'TEMPLATE'

Methods§

public function option(): string

Answers the option name the server receives.

Returns

string
Calls 2

Test cases 1§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1

Relations§

Constant reads 6
Type declarations 1