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

A window specification the server rejects.

Describing a RANGE offset without a single ordering columndoctest
(new \SqlSemantics\Platform\PostgreSql\Statement\Invocation\Problem\WindowProblem(\SqlSemantics\Platform\PostgreSql\Statement\Invocation\Problem\WindowProblemKind::RangeOffsetOrder))->message() // => 'RANGE with offset PRECEDING/FOLLOWING requires exactly one ORDER BY column'

Properties§

Methods§

public function __construct(public WindowProblemKind $kind)

Parameters

$kindWindowProblemKindThe mistake
public function message(): string

Describes the problem as the server does.

Returns

string
Test cases 1

Test cases 4§

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 3

Relations§

Instantiated in 2