enumDictionaryAttribute
enum DictionaryAttribute: string
implements KnownAttribute
Public API: explicitly declared with
@visibility public.The attribute CREATE TEXT SEARCH DICTIONARY reads itself.
DefineTSDictionary reads template as the name of the dictionary's template. Every other attribute is an option of the template, which the template's initialization function reads. Source: https://www.postgresql.org/docs/17/sql-createtsdictionary.html, DefineTSDictionary in src/backend/commands/tsearchcmds.c of PostgreSQL 17.
\SqlSemantics\Platform\PostgreSql\Statement\Object\Attribute\Known\DictionaryAttribute::from('template')->reading() // => \SqlSemantics\Platform\PostgreSql\Statement\Object\Attribute\Reading::TextSearchTemplateCases§
case Template = 'template'Methods§
public static function named(string $name): ?selfAnswers the member with exactly this name, or null.
Parameters
$name | string |
Returns
?selfTest cases 1
Calls 1
- static-call DictionaryAttribute::tryFrom() line 38
public function text(): stringAnswers the attribute name the command compares with.
Returns
stringpublic function reading(): ReadingAnswers how the command reads the attribute's value.
Returns
Calls 1
- class-const DictionaryAttribute::READINGS() line 54
Private surface 1§
Implementation details, listed for orientation only.
private const READINGS = ['template' => \SqlSemantics\Platform\PostgreSql\Statement\Object\Attribute\Rea…Test cases 6§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.