enum FinalModification: string
    implements Choice
Public API: explicitly declared with @visibility public.

The finalfunc_modify and mfinalfunc_modify attributes of an aggregate: whether the final function changes the state.

extractModify compares the text with read_only, shareable and read_write exactly. Source: https://www.postgresql.org/docs/17/sql-createaggregate.html, extractModify in src/backend/commands/aggregatecmds.c of PostgreSQL 17.

Reading a modification modedoctest
\SqlSemantics\Platform\PostgreSql\Statement\Object\Attribute\Choice\FinalModification::read('read_write')?->name // => 'ReadWrite'

Cases§

case ReadOnly = 'read_only'
case Shareable = 'shareable'
case ReadWrite = 'read_write'

Methods§

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

Answers the mode the text names exactly, or null.

Parameters

$textstring

Returns

?self
Test cases 1
Calls 1

Test cases 2§

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 1

Relations§

Constant reads 1