how can find exact value from store

Posted by  Takeshi Okada
 2804  View(s)
Rate this:
Hi Developers,

I have a store containing value
{"name":"samuel fernandes","add":"pqr"}

Now when I find the value from store like


then it does not return blank. It behaving "like query" (sql % like). so how can find exact value from store? 

Thanks in advance for any recommendations or solutions.
  1. Re: how can find exact value from store

    You have asked a good question, basically in Sencha Touch there are two method to find the value from Sencha Store first one is find('Key_Name', 'Key_Value') and second is findExact('Key_Name','Key_Value'),  find() and findExact() both are using for finding value but having a little bit difference, find() behaving SQL LIKE wildcard  functionality where as findExact() finding the exact value from Sencha store.
    Here you have to use findExact() method to finding exact value like this:


    Mark as Answer if this solution will resolved your problem.

      Modified On Aug-05-2013 01:36:11 AM