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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -