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

A dotted name with more parts than the object it must name can have.

Source: https://www.postgresql.org/docs/17/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS.

Reporting a type name with four partsdoctest
(new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze("SELECT a.b.c.d '1'") // throws \SqlSemantics\Platform\PostgreSql\Model\Diagnostic\SemanticException: Improper qualified name (too many dotted names): a.b.c.d.

Properties§

public DottedName $name

Methods§

public function __construct(public DottedName $name)

Parameters

$nameDottedNameThe name as written
public function message(): string

Describes the problem.

Returns

string
Test cases 1
Calls 1

Test cases 5§

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 4

Relations§

Instantiated in 6