Skip to main content

ensure_fts_index

Function ensure_fts_index 

Source
pub fn ensure_fts_index(conn: &Connection) -> Result<(), Error>
Expand description

Ensures the symbols_fts FTS5 virtual table and synchronization triggers exist in the SQLite database. If symbols has rows but symbols_fts has not indexed them (e.g. freshly created FTS table), an index rebuild is executed.