classImproperName
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.
(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 $nameMethods§
public function __construct(public DottedName $name)Parameters
$name | DottedName | The name as written |
public function message(): stringTest 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
- new SqlSemantics\Platform\PostgreSql\Rules\Expression\ColumnFacts::derive() packages/sql-semantics-postgres/src/Rules/Expression/ColumnFacts.php:56
- new SqlSemantics\Platform\PostgreSql\Rules\Expression\WholeRows::star() packages/sql-semantics-postgres/src/Rules/Expression/WholeRows.php:52
- new SqlSemantics\Platform\PostgreSql\Rules\Invocation\CallTyping::call() packages/sql-semantics-postgres/src/Rules/Invocation/CallTyping.php:59
- new SqlSemantics\Platform\PostgreSql\Rules\Routine\RelationTargets::dotted() packages/sql-semantics-postgres/src/Rules/Routine/RelationTargets.php:84
- new SqlSemantics\Platform\PostgreSql\Rules\Typing\TypeLookup::find() packages/sql-semantics-postgres/src/Rules/Typing/TypeLookup.php:59
- new SqlSemantics\Platform\PostgreSql\Rules\Typing\TypeLookup::column() packages/sql-semantics-postgres/src/Rules/Typing/TypeLookup.php:94