classNoCollation
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.
(new \SqlSemantics\Platform\PostgreSql\Statement\Expression\Problem\NoCollation('integer'))->message() // => 'Collations are not supported by type integer.'Properties§
public string $typeMethods§
public function __construct(public string $type)Parameters
$type | string | The type of the value |
public function message(): stringDescribes the problem.
Returns
stringTest cases 1
Test cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.