Class DS.FixtureAdapter
Extends:
DS.Adapter
Module:
ember-data
DS.FixtureAdapter
is an adapter that loads records from memory.
It's primarily used for development and testing. You can also use
DS.FixtureAdapter
while working on the API but is not ready to
integrate yet. It is a fully functioning adapter. All CRUD methods
are implemented. You can also implement query logic that a remote
system would do. It's possible to develop your entire application
with DS.FixtureAdapter
.
For information on how to use the FixtureAdapter
in your
application please see the FixtureAdapter
guide.
Methods
- convertResourceObject
- createRecord
- deleteRecord
- find
- findAll
- findMany
- findRecord
- fixturesForType
- generateIdForRecord
- groupRecordsForFindMany
- mockJSON
- normalizeResponseHelper
- pushPayload
- pushPayloadData
- pushPayloadIncluded
- queryFixtures
- queryRecord
- serialize
- shouldBackgroundReloadAll
- shouldBackgroundReloadRecord
- shouldReloadAll
- shouldReloadRecord
- updateFixtures
- updateRecord
- validateDocumentStructure
Properties
Events
No documented items