enum CallMisuseRule
Public API: explicitly declared with @visibility public.

The rules about the clauses of a function call that SQLite enforces by the kind of the function.

Source: https://sqlite.org/lang_aggfunc.html, https://sqlite.org/windowfunctions.html.

Reading which rule a call breaksdoctest
$query = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('SELECT row_number()');
    $query->facts->diagnostics[0]->rule // => \SqlSemantics\Platform\Sqlite\Statement\Query\Problem\CallMisuseRule::WindowWithoutOver

Cases§

case WindowWithoutOver
case ScalarAsWindow
case FilterWithoutAggregate
case FilterOnWindowOnly
case OrderByWithoutAggregate
case DistinctInWindow
case DistinctArguments

Test cases 17§

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 16

Relations§

Constant reads 14
Type declarations 1