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

The pattern-matching keywords, as PostgreSQL's A_Expr_Kind distinguishes them.

Source: https://www.postgresql.org/docs/17/functions-matching.html.

Reading the operator of a pattern matchdoctest
$query = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze("SELECT 'a' ILIKE 'A'");
    $query->field(0)->expression->operator // => \SqlSemantics\Platform\PostgreSql\Statement\Expression\Operator\PatternOperator::ILike

Cases§

case Like

LIKE, the operator ~~.

case ILike

ILIKE, the operator ~~*.

case SimilarTo

SIMILAR TO, a regular expression match through similar_to_escape.

Test cases 9§

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 8

Relations§

Constant reads 19
Type declarations 2