enumStorageStrategy
enum StorageStrategy: string
implements Choice
Public API: explicitly declared with
@visibility public.The storage attribute of a base type: how values of a variable-length type are stored.
DefineType compares the text without regard to case. Source: https://www.postgresql.org/docs/17/sql-createtype.html, DefineType in src/backend/commands/typecmds.c of PostgreSQL 17.
\SqlSemantics\Platform\PostgreSql\Statement\Object\Attribute\Choice\StorageStrategy::read('EXTENDED')?->name // => 'Extended'Cases§
case Plain = 'plain'case External = 'external'case Extended = 'extended'case Main = 'main'Methods§
public static function read(string $text): ?selfAnswers the strategy the text names without regard to case, or null.
Parameters
$text | string |
Returns
?selfTest cases 2
Calls 2
- static-call StorageStrategy::tryFrom() line 29
- function-call
strtolowerline 29
Test cases 3§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.