Class Store
public
Defined in:
../store/src/-private/store-service.ts:165
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 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 or within a specific context.
Methods
- adapterFor
- createCache (hook)
- createRecord
- deleteRecord
- findAll
- findRecord
- getReference
- getRequestStateService
- instantiateRecord (hook)
- normalize
- peekAll
- peekRecord
- push
- pushPayload
- query
- queryRecord
- request
- saveRecord
- serializerFor
- teardownRecord (hook)
- unloadAll
- unloadRecord
Properties
Events
No documented items