Class Store
public
Defined in:
../store/src/-private/store-service.ts:92
Module:
@ember-data/store
A Store coordinates interaction between your application, a Cache, and sources of data (such as your API or a local persistence layer) accessed via a RequestManager.
app/services/store.js
import Store from '@ember-data/store';
export default class extends Store {}
Most Ember applications will only have a single Store
configured as a Service
in this manner. However, setting up multiple stores is possible, including using
each as a unique service.
Methods
- adapterFor
- createCache (hook)
- createRecord
- deleteRecord
- findAll
- findRecord
- getReference
- getRequestStateService
- getSchemaDefinitionService
- instantiateRecord (hook)
- modelFor
- normalize
- peekAll
- peekRecord
- push
- pushPayload
- query
- queryRecord
- registerSchema
- request
- saveRecord
- serializerFor
- teardownRecord (hook)
- unloadAll
- unloadRecord
Properties
Events
No documented items