[Dbix-class] multi-column primary foreign key

Joss Shaw jossblowing at yahoo.co.uk
Tue Jan 16 12:57:01 GMT 2007


Hi all,

I'm just a little confused by all the various documentation. I'm attempting to create a table schema which has a multi-column primary foreign key. That is, the primary keys of table A, are contained in table B and table C.  I'm not quite sure how to go about this, I tried to use "has_one" and "might_have" but apparently that relationship can only be used to infer a join for a single primary key.


Could anyone help me please ?
> joss



		
___________________________________________________________ 
The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20070116/b8b559f8/attachment.htm


More information about the Dbix-class mailing list