I created a model that is localized on the client when initializing the application.
The findQuery method always executes an ajax request, for example:
App.store.find(App.Person, {name: 'John'})
even when a App.Person with name:John already loaded. The find method, which accepts an identifier, first looks at local storage. But I need to be able to fulfill attribute requests.
My question is whether there is a method for executing queries strictly on locally available data .
source share