Skip to main content

escape_like_pattern

Function escape_like_pattern 

Source
fn escape_like_pattern(input: &str) -> String
Expand description

Escapes the LIKE/ILIKE metacharacters \, % and _ so a search string is matched literally (used together with ESCAPE '\' in the query).