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

A relation name that several visible relations of one query level answer to.

Source: https://www.postgresql.org/docs/17/queries-table-expressions.html#QUERIES-TABLE-ALIASES.

Reading the messagedoctest
(new \SqlSemantics\Platform\PostgreSql\Statement\Expression\Problem\AmbiguousRelation('t'))->message() // => 'Table reference t is ambiguous.'

Properties§

public string $name

Methods§

public function __construct(public string $name)

Parameters

$namestringThe relation name
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