Skip to main content

escape_fts5_query

Function escape_fts5_query 

Source
pub fn escape_fts5_query(query: &str) -> String
Expand description

Escape a query string so FTS5 treats it as a literal phrase. Wraps the input in double quotes and escapes any inner " as "".