classAmbiguousOutputName
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.
(new \SqlSemantics\Platform\PostgreSql\Statement\Expression\Problem\AmbiguousOutputName('a'))->message() // => 'Output column reference a is ambiguous.'Properties§
public string $nameMethods§
public function __construct(public string $name)Parameters
$name | string | The 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.