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

The constructs SQLite rejects inside the expressions of a definition.

The value is the phrase SQLite uses for the construct in its error message. Source: https://sqlite.org/lang_createtable.html#check_constraints, https://sqlite.org/partialindex.html, https://sqlite.org/expridx.html, https://sqlite.org/gencol.html.

Reading the construct of a prohibited expressiondoctest
$create = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('CREATE TABLE t (a, b AS (random()))');
    $create->facts->diagnostics[0]->construct // => \SqlSemantics\Platform\Sqlite\Statement\Schema\Limit\ProhibitedConstruct::NonDeterministicFunction

Cases§

case Parameter = 'parameters'
case Subquery = 'subqueries'
case DotOperator = 'the "." operator'
case NonDeterministicFunction = 'non-deterministic functions'

Test cases 5§

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 4

Relations§

Constant reads 18
Type declarations 2