Class IdentityMap private
Defined in:
addon/-private/system/identity-map.js:4
Module:
ember-data
IdentityMap is a custom storage map for records by modelName
used by DS.Store.
Methods
clear
Module:
ember-data
Defined in addon/-private/system/identity-map.js:35
Clears the contents of all known RecordMaps, but does
not remove the InternalModelMap instances.
retrieve (modelName) : InternalModelMap
Module:
ember-data
Defined in addon/-private/system/identity-map.js:16
- modelName
a previously normalized modelName
- returns
- InternalModelMap
the InternalModelMap for the given modelName
Retrieves the InternalModelMap for a given modelName,
creating one if one did not already exist. This is
similar to getWithDefault or get on a MapWithDefault