interface Choice
Public API: explicitly declared with @visibility public.

A closed set of words that a definition attribute accepts as its value.

The command reads the value as text and compares it with the words it knows; each set decides whether the comparison ignores case, as its command does. Source: https://www.postgresql.org/docs/17/sql-createtype.html, https://www.postgresql.org/docs/17/sql-createaggregate.html, https://www.postgresql.org/docs/17/sql-createcollation.html.

Reading the word an alignment is written withdoctest
\SqlSemantics\Platform\PostgreSql\Statement\Object\Attribute\Choice\Alignment::read('float8')?->name // => 'Double'

Methods§

public static function read(string $text): ?self

Answers the member the text names, or null when the command rejects the text.

Parameters

$textstring

Returns

?self

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§

Implemented by 5
Type declarations 1