Store searchable text in an FTS5 index.
Section: Create FTS5 tables
Create an FTS5 virtual table
sql
sql
CREATE VIRTUAL TABLE docs USING fts5(title, body);Explanation
FTS5 is the go-to SQLite feature for efficient full-text search.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Create FTS5 tables