Skip to main content

escape_like

Function escape_like 

Source
pub fn escape_like(value: &str) -> String
Expand description

Escape the LIKE metacharacters (%, _ and LIKE_ESCAPE itself) so user input matches literally instead of acting as wildcards.