fn escape_like_pattern(input: &str) -> String
Escapes the LIKE/ILIKE metacharacters \, % and _ so a search string is matched literally (used together with ESCAPE '\' in the query).
LIKE
ILIKE
\
%
_
ESCAPE '\'