When defining model objects in your application, you may realize the need to refer or link two models together, something very similar to what you do in relational databases. Ember Data lets you do that in a very easy manner by providing support for the several possible relationship types that two models can have with each other.
Currently, three types of relationships are supported in
Let's see what each relationship types mean, and how to define it in your model objects.
The one to one type of relationship means that the model attribute is linked to one, and only one, object. In Ember Data, you can link an attribute to one other object by ...