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

A request SQLite rejects because it breaks a rule of the language.

Reading the problem of a star without inputdoctest
(new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('SELECT *') // throws \SqlSemantics\Platform\Sqlite\Model\Diagnostic\SemanticException: no tables specified

Properties§

public MisuseRule $rule

Methods§

public function __construct(public MisuseRule $rule)

Parameters

$ruleMisuseRuleThe broken rule
public function message(): string

Describes the broken rule in the words of SQLite.

Returns

string
Test cases 1

Test cases 39§

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

Dedicated tests 2
Other tests reaching this symbol 37

Relations§

Instantiated in 16
Type declarations 1