问题
I think data relationships are saved in the adapters of the Ember app. So the way the REST adapter, the local storage adapter, and the fixture adapter saves relationships might be all different. Relationships might be saved in the parent or the child.
I would like to know how each adapter saves relationships. Source code and examples would be appreciated. I'll update with my findings as well.
来源:https://stackoverflow.com/questions/17688671/how-are-relationships-saved-in-the-popular-ember-js-adapters