im using QSQLite in Qt 4.8 and trying to do Full Text Search
im trying to find away to build query that preform text search using LIKE and %str%
or maybe other query.
i have table with N columns and i like to build query so if i search “foo”
it will give me as results all the rows that part or all of the strings in one of the row columns contains “foo”.
what is the best way to do it in SQLite?
im using QSQLite in Qt 4.8 and trying to do Full Text Search im
Share
You can use SQLite FTS3 and FTS4 Extensions
Quoting documentation samples:
Notice that this look for your pattern in all table columns!