modelFor (modelName) DS.Model
Returns the model class for the particular modelName
.
The class of a model might be useful if you want to get a list of all the relationship names of the model, see relationshipNames
for example.
Parameters:
-
modelName
String
Please login to continue.