Quantcast
Viewing all articles
Browse latest Browse all 8068

Alloy/Backbone Models with Compound Key

Are there any tactics to using alloy and backbone with compound primary keys? I would like to implement a REST adapter, currently using restsql which works great with a single id field. I found this extension for backbone which seems to resolve the issue on the backbone end, allowing you to define an array for the idAttribute field in your model. However, restsql will break with array in idAttribute. Just wondering if this has been tried before or if I will have to write something custom.


Viewing all articles
Browse latest Browse all 8068

Trending Articles