Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4828

Handling Composite Keys

$
0
0

@mtangoo wrote:

So far my ride with ember and ember-data have been well. I have faced some challenges and overcame them. But one thing I have failed to figure out is how to make CRUD with ember-data for model whose PK is not single attribute but rather composite of two attributes.

How do you handle that case with ember data without affecting the rest of Application I have checkd out google and the best I could get was this gist on github.

Is there more cleaner way to specify model id when its composite? In that case should I put attributes in model or I don't put them there like in case of id?

Thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles