recordForId (modelName, id) DS.Model
private
Returns id record for a given type and ID. If one isn't already loaded, it builds a new record and leaves it in the empty
state.
Parameters:
-
modelName
String
-
id
(String|Integer)
Returns:
-
DS.Model
- record
Please login to continue.