Skip to main content

escape_fts5_query

Function escape_fts5_query 

Source
pub fn escape_fts5_query(raw: &str) -> Result<String>
Expand description

Escape a user query for SQLite FTS5 MATCH (legacy helper).

Prefer prepare_search_query for search/context paths — this keeps whitespace-split quoting without stopword handling for callers that want literal AND of every token.