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

A parameter reference whose number no statement can bind.

Parameters are numbered from 1; the server reports $0 and numbers beyond its limit as undefined parameters. Source: https://www.postgresql.org/docs/17/sql-expressions.html#SQL-EXPRESSIONS-PARAMETERS-POSITIONAL.

Reporting parameter zerodoctest
(new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('SELECT $0') // throws \SqlSemantics\Platform\PostgreSql\Model\Diagnostic\SemanticException: There is no parameter $0.

Properties§

public string $marker

Methods§

public function __construct(public string $marker)

Parameters

$markerstringThe parameter marker as the server reads it
public function message(): string

Describes the problem.

Returns

string
Test cases 1

Test cases 1§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1

Relations§

Instantiated in 2