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 -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -