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

The pattern matching operators; each one calls the function of the same name.

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

Reading the operator of a pattern matchdoctest
$query = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze("SELECT a GLOB 'x*' FROM t");
    $query->statement->columns[0]->expression->operator // => \SqlSemantics\Platform\Sqlite\Statement\Expression\Operator\PatternOperator::Glob

Cases§

case Like = 'LIKE'
case Glob = 'GLOB'
case Regexp = 'REGEXP'
case Match = 'MATCH'

Test cases 10§

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 8

Relations§

Static calls 1
Constant reads 3
Type declarations 1