SQLAlchemy supports multi-column primary keys, but doesn't support their 'mirror image' of multi-column foreign keys. I was just about to write up a ticket, but thought I would check to make sure I hadn't missed anything (esp. in light of the large amount of recent activity!).

Adding support for this is likely to impact a few areas (esp mapping) as the current assumption of a 1-1 mapping between column and fk is no longer valid in all cases. Note that SQLAlchemy is currently working well for me when using 2 sets of multi-column fk's in an association, if the fk's are manually created and the required joins fully specified in the mapper.

Robert


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to