Different between find and findExact method in Sencha Touch

Total Post:159

Points:1117

 3319  View(s)
Ratings:
Rate this:
Hi Developers,

I'm new in Sencha Touch Development. I have no much information about Sencha Touch. Can you tell me what it different between find and findExact.

Thanks in advance. 
  1. Re: Different between find and findExact method in Sencha Touch

    Hi Samuel Fernandes,

    find and findExact both are using for retrieving record from Store but there is only difference is that find method search data in Store as like wildcard whereas findExact searched exact data from store.

    Suppose that store containing following record:

    dummyStore: [{‘Name’: ‘Samuel’ },

                          {‘Name’: ‘Samuel Fernandes’}]

    In the case of dummyStore.find(‘Name’, ‘Samuel’)  it will returns two index (both two record) but in the case of dummyStore.findExact(‘Name’, ‘Samuel’)  it will returns only one index.

     

    I hope it will quite helpful for you. Thanks!!

      Modified On Mar-30-2018 05:37:52 AM

Answer

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.