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

The prefix operators of SQLite expressions.

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

Reading the operator of a negationdoctest
$query = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('SELECT NOT 1');
    $query->statement->columns[0]->expression->operator // => \SqlSemantics\Platform\Sqlite\Statement\Expression\Operator\UnaryOperator::Not

Cases§

case Not = 'NOT'
case BitNot = '~'
case Plus = '+'
case Minus = '-'

Test cases 14§

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 12

Relations§

Static calls 1
Constant reads 15
Type declarations 2