classAmbiguousRelation
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.
(new \SqlSemantics\Platform\PostgreSql\Statement\Expression\Problem\AmbiguousRelation('t'))->message() // => 'Table reference t is ambiguous.'Properties§
public string $nameMethods§
public function __construct(public string $name)Parameters
$name | string | The relation name |
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.