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

A name that matches several output columns where the position refers to output columns by name.

Source: https://www.postgresql.org/docs/17/sql-select.html#SQL-ORDERBY.

Reading the messagedoctest
(new \SqlSemantics\Platform\PostgreSql\Statement\Expression\Problem\AmbiguousOutputName('a'))->message() // => 'Output column reference a is ambiguous.'

Properties§

public string $name

Methods§

public function __construct(public string $name)

Parameters

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