Narek  Simonyan Narek Simonyan - 3 months ago 7
iOS Question

Get users with username query issue

I have a search bar and want to have a query that will get the users which first letters match search bar text. Now I have a query


"username LIKE '%@'"


which only gets users that username = "Search bar text"

Answer

Use:

...username LIKE '%%%@%%'....
Comments