IdentityMap
IdentityMap Class
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
.
clear
Clears the contents of all known RecordMaps
, but does not remove the InternalModelMap instances.
retrieve (modelName) InternalModelMap
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
Parameters:
- modelName
- a previously normalized modelName
Returns:
-
InternalModelMap
- the InternalModelMap for the given modelName
© 2017 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://emberjs.com/api/data/classes/IdentityMap.html