enumFinalModification
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.
\SqlSemantics\Platform\PostgreSql\Statement\Object\Attribute\Choice\FinalModification::read('read_write')?->name // => 'ReadWrite'Cases§
case ReadOnly = 'read_only'case ReadWrite = 'read_write'Methods§
public static function read(string $text): ?selfAnswers the mode the text names exactly, or null.
Parameters
$text | string |
Returns
?selfTest cases 1
Calls 1
- static-call FinalModification::tryFrom() line 29
Test cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.