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

The provider attribute of a collation: the library that provides it.

DefineCollation compares the text without regard to case. The builtin provider exists from PostgreSQL 17 on; PostgreSQL 16 reports it as an unrecognized provider. Source: https://www.postgresql.org/docs/17/sql-createcollation.html, DefineCollation in src/backend/commands/collationcmds.c of PostgreSQL 16 and 17.

Reading a providerdoctest
\SqlSemantics\Platform\PostgreSql\Statement\Object\Attribute\Choice\CollationProvider::read('ICU')?->name // => 'Icu'

Cases§

case Builtin = 'builtin'
case Icu = 'icu'
case Libc = 'libc'

Methods§

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

Answers the provider the text names without regard to case, or null.

Parameters

$textstring

Returns

?self
Test cases 1
Calls 2

Test cases 4§

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 3

Relations§

Constant reads 7
Type checks 1
Type declarations 1