hi all,
i understand this may not be a direct ios question but it is related to.
i am developing an application in ios sqlite where i ned to search a db with records ordered by o of words found in the search string.
for example if the search string "x y" strings containing x y will appear first, then strings containing x and then y.
the question is is there a straight sql query to do this ? or i need to write my own function ?
regards
ch
i understand this may not be a direct ios question but it is related to.
i am developing an application in ios sqlite where i ned to search a db with records ordered by o of words found in the search string.
for example if the search string "x y" strings containing x y will appear first, then strings containing x and then y.
the question is is there a straight sql query to do this ? or i need to write my own function ?
regards
ch