Skip to main content

LIKE_ESCAPE

Constant LIKE_ESCAPE 

Source
pub const LIKE_ESCAPE: char = '!';
Expand description

The character escaping the LIKE metacharacters in a bound pattern (escape_like), to name in the clause: … LIKE ? ESCAPE '!'.

Not the backslash: MySQL reads '\' as an escape inside string literals (so ESCAPE '\' does not even parse), and SQLite has no default escape character at all. ! means the same everywhere.