Skip to main content

like_match_escape_pub

Function like_match_escape_pub 

Source
pub fn like_match_escape_pub(
    value: &str,
    pattern: &str,
    ci: bool,
    esc: char,
) -> bool
Expand description

LIKE ... ESCAPE 'c' — the escaped form.

Added because SQLAlchemy 2.0.53 started emitting it in the catalogue query its inspector runs on connect. 2.0.52 did not, so the endpoint went from working to refusing with expected ')', got ESCAPE on a dependency bump nobody here made. An introspection query is the FIRST thing a client sends, so refusing it does not degrade one feature — the connection is unusable.