Skip to main content

Module fts

Module fts 

Source
Expand description

FTS5 query helpers: escaping and safe MATCH construction.

User input must never be passed raw to SQLite FTS5: operators like AND, OR, NEAR, and bare " can change query structure or cause errors.

Functionsยง

escape_fts5_query
Escape a user query for SQLite FTS5 MATCH.