enumMatchKeyword
enum MatchKeyword: string
Public API: explicitly declared with
@visibility public.A pattern-matching keyword used as the operator of a quantified comparison: a LIKE ANY (…).
The grammar reads each keyword as the operator it stands for. Source: https://www.postgresql.org/docs/17/functions-matching.html#FUNCTIONS-LIKE, https://www.postgresql.org/docs/17/functions-comparisons.html.
\SqlSemantics\Platform\PostgreSql\Statement\Expression\Subquery\MatchKeyword::NotILike->operator() // => '!~~*'Cases§
case Like = 'LIKE'LIKE.
case NotLike = 'NOT LIKE'NOT LIKE.
case ILike = 'ILIKE'ILIKE.
case NotILike = 'NOT ILIKE'NOT ILIKE.
Methods§
public function operator(): stringAnswers the operator the keyword stands for.
Returns
stringTest cases 1
Calls 4
- class-const MatchKeyword::Like() line 46
- class-const MatchKeyword::NotLike() line 47
- class-const MatchKeyword::ILike() line 48
- class-const MatchKeyword::NotILike() line 49
Test cases 3§
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 2
Relations§
Constant reads 4
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Expression\SublinkRule packages/sql-semantics-postgres/src/Lowering/Expression/SublinkRule.php:47
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Expression\SublinkRule packages/sql-semantics-postgres/src/Lowering/Expression/SublinkRule.php:47
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Expression\SublinkRule packages/sql-semantics-postgres/src/Lowering/Expression/SublinkRule.php:48
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Expression\SublinkRule packages/sql-semantics-postgres/src/Lowering/Expression/SublinkRule.php:48
Type declarations 3
- type SqlSemantics\Platform\PostgreSql\Lowering\Expression\SublinkRule packages/sql-semantics-postgres/src/Lowering/Expression/SublinkRule.php:109
- type SqlSemantics\Platform\PostgreSql\Statement\Expression\Subquery\QuantifiedArray packages/sql-semantics-postgres/src/Statement/Expression/Subquery/QuantifiedArray.php:47
- type SqlSemantics\Platform\PostgreSql\Statement\Expression\Subquery\QuantifiedSubquery packages/sql-semantics-postgres/src/Statement/Expression/Subquery/QuantifiedSubquery.php:49