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

The characters a bind parameter starts with.

Source: https://sqlite.org/lang_expr.html#parameters.

Reading the prefix of a named parameterdoctest
$query = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('SELECT :id');
    $query->statement->columns[0]->expression->prefix // => \SqlSemantics\Platform\Sqlite\Statement\Expression\ParameterPrefix::Colon

Cases§

case Question = '?'
case Colon = ':'
case At = '@'
case Dollar = '$'

Test cases 10§

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

Dedicated tests 3
Other tests reaching this symbol 7

Relations§

Static calls 1
Constant reads 1
Type declarations 1