final class NoCollation
    implements Diagnostic
    uses Snapshot
Public API: explicitly declared with @visibility public.

A collation applied to a value of a type without collation support.

Source: https://www.postgresql.org/docs/17/collation.html.

Reading the messagedoctest
(new \SqlSemantics\Platform\PostgreSql\Statement\Expression\Problem\NoCollation('integer'))->message() // => 'Collations are not supported by type integer.'

Properties§

public string $type

Methods§

public function __construct(public string $type)

Parameters

$typestringThe type of the value
public function message(): string

Describes the problem.

Returns

string
Test cases 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§

Instantiated in 1