I have a text column containing URLs that are uniqe.
I need to do a SQL pattern match query, say using the ‘like’ SQL operator.
In such a scenario, will SQLite do a FTS ( Full Table Scan ) regardless of whether I have an index on that column or not ( column is a primary key )?
It seems to be that its doing a FTS as the speed of operation is telling – or is the speed impact due to the ‘like’ query although the column is indexed?
The SQLite Query Planner
Update: by default
case_sensitive_likemode is OFF. Turning it ON might make it behave like=.