Searching for Data using FTS — Full Text Search

CREATE VIRTUAL TABLE fts_table USING fts3 ( col_1, col_2, text_column )
INSERT INTO fts_table VALUES ('3', 'apple', 'Hello. How are you?')
INSERT INTO fts_table VALUES ('24', 'car', 'Fine. Thank you.')
INSERT INTO fts_table VALUES ('13', 'book', 'This is an example.')
SELECT * FROM fts_table WHERE fts_table MATCH ?

For more info regarding virtual tables visit https://sqlite.org/vtab.html

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store