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!!
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
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!!