[Dbix-class] Re: multi-column primary foreign key

Joss Shaw jossblowing at yahoo.co.uk
Wed Jan 17 12:54:42 GMT 2007


Hey, thanks for your help with the multi-column primary key stuff guys !

Most helpful - maybe it would be worth me placing this onto the Wiki ?

>joss

----- Original Message ----
From: "dbix-class-request at lists.rawmode.org" <dbix-class-request at lists.rawm=
ode.org>
To: dbix-class at lists.rawmode.org
Sent: Wednesday, 17 January, 2007 9:23:30 AM
Subject: Dbix-class Digest, Vol 19, Issue 22



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. Tha=
t 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 fo=
r a single primary key.


Could anyone help me please ?
> joss



  =








	=

	=

		=

___________________________________________________________ =

New Yahoo! Mail is the ultimate force in competitive emailing. Find out mor=
e at the Yahoo! Mail Championships. Plus: play games and win prizes. =

http://uk.rd.yahoo.com/evt=3D44106/*http://mail.yahoo.net/uk =

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20070117/2f1=
6af81/attachment.htm


More information about the Dbix-class mailing list