Support compound primary keys
Per @jmealo, a table with a compound primary key doesn't seem to render properly
getPrimaryKey actually returns every key as an array in rows -- just support array responses
Also, @jmealo, the current build does seem to let you browse and update tables with compound primary keys. Could you paste/send the schema of the table you were having trouble with?
Which branch? I cloned the default last night. It didn't work with any of my tables. I had to make one from scratch. I do believe all the tables had compound keys though.
I'm not sure how you use the primary key but I'm imagining you'd need special handling if you're trying to use that as a unique identifier in a lookup table or the DOM.
I'll send you the schemas OOB. On Jun 27, 2016 8:33 PM, "Tim Wisniewski" [email protected] wrote:
Also, @jmealo https://github.com/jmealo, the current build does seem to let you browse and update tables with compound primary keys. Could you paste/send the schema of the table you were having trouble with?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/timwis/dataface/issues/34#issuecomment-228916183, or mute the thread https://github.com/notifications/unsubscribe/ABBGKAgd9TFU7d15ZBfTtZiDuxxTy55Aks5qQGvXgaJpZM4I-uol .