enum MisuseRule: string
Public API: explicitly declared with @visibility public.

The rules of SQLite a grammatical statement can break without naming a missing object.

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

Cases§

case StarWithoutTables = 'no tables specified'
case UnknownJoinType = 'unknown join type'
case OnWithoutJoin = 'a JOIN clause is required before ON'
case UsingWithoutJoin = 'a JOIN clause is required before USING'
case NaturalJoinWithConstraint = 'a NATURAL join may not have an ON or USING clause'
case OrderByBeforeCompound = 'ORDER BY clause should come after the compound operator not before'
case LimitBeforeCompound = 'LIMIT clause should come after the compound operator not before'
case HexLiteralTooBig = 'hex literal too big'
case DecoratedColumnName = 'syntax error after column name'
case DuplicateCommonTable = 'duplicate WITH table name'
case CircularReference = 'circular reference'
case QualifiedTriggerTarget = 'qualified table names are not allowed on INSERT, UPDATE, and DELETE statements…
case IndexedTriggerTarget = 'the INDEXED BY and NOT INDEXED clauses are not allowed on UPDATE or DELETE sta…
case RaiseOutsideTrigger = 'RAISE() may only be used within a trigger-program'
case ParameterInTrigger = 'trigger cannot use variables'
case TooManyValueColumns = 'row value misused'

Test cases 52§

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 50

Relations§

Constant reads 18
Type declarations 1