ILIKE()

All functions > COMPARISON > ILIKE()

Case-insensitive wildcard match between two strings.

Signatures

Returns: TRUE, FALSE, or NULL

ILIKE(expr1: VARCHAR, expr2: VARCHAR, [escape: VARCHAR]) → BOOLEAN
sql
ParameterTypeRequiredDescription
expr1VARCHARYesString to match
expr2VARCHARYesPattern
escapeVARCHARNoEscape character

Notes

Uses the same % and _ wildcards as LIKE.

Related operators

Examples

ILIKE — functional call

FeatureQL
SELECT
    f1 := ILIKE('Ab', 'a%') -- `ILIKE(expr, pattern)` matches keyword `ILIKE`
;
Result
f1 BOOLEAN
true

ILIKE — chained

FeatureQL
SELECT
    f1 := ('Ab').ILIKE('a%') -- Receiver is the string; argument is the pattern
;
Result
f1 BOOLEAN
true

Last update at: 2026/05/26 17:22:09