Skip to main content

render_text_query_fts5

Function render_text_query_fts5 

Source
pub fn render_text_query_fts5(query: &TextQuery) -> String
Expand description

Render a TextQuery as an FTS5-safe MATCH expression.

The renderer is the only place that emits FTS5 control syntax. All literal terms and phrases are double-quoted and escaped, while only supported operators (OR, NOT, and implicit AND) are emitted as control syntax.