The results of the 2017 Ember Community Survey !

IdentityMap Class addon/-private/system/identity-map.js:4


PRIVATE

IdentityMap is a custom storage map for records by modelName used by DS.Store.

Show:

Methods

Show:

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