[ALOY-674] multiple columns for an idAttribute
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2014-01-17T17:57:26.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | Alloy |
Reporter | Carter Lathrop |
Assignee | Tony Lukasavage |
Created | 2013-05-28T16:44:54.000+0000 |
Updated | 2014-02-28T23:57:13.000+0000 |
Description
Hi, as I know, I can't use multiple columns for an idAttribute this is useful for middel table on ManyToMany tables like below: User Table: - id ( Integer ) - username ( Text ) Group Table: - id ( Integer ) - name ( Text ) Middle Table: user_id ( Integer ) group_id ( Integer ) I want to use middle table for fetching user 1 I use idAttribute: "user_id, group_id" but it's not workingComments
- Tony Lukasavage 2014-01-17 As most of the back-end storage methods don't support multiple primary keys, it doesn't make sense to implement in the core of Alloy. If a particular sync adapter implementation wants to, they can, but not in the core of alloy's code.