ios - PFQuery on Array for item starts with String -


i have array of search keywords field in custom object , wanna make search when user enter 2 or 3 characters of of array items example

["cafe" , "food" , "eat"] ["car" , "gas"] 

if user entered caf should return object contains search keyword

[query wherekey:@"keywords" greaterthan:keyword]; 

returns not relevant data returns 2 rows of car , cafe !

i tried equalto

[query wherekey:@"keywords" equalto:keyword]; 

but row should enter whole word

any ideas should query on?


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -