Re: Composite keys

[prev] [thread] [next] [Date index for 2005/05/04]

From: Kevin Old
Subject: Re: Composite keys
Date: 21:45 on 04 May 2005
Hi Perrin,

On 5/4/05, Perrin Harkins <perrin@xxxx.xxx> wrote:
> On Wed, 2005-05-04 at 16:59 -0400, Kevin Old wrote:
> Also, are you aware that Class::DBI doesn't support has_a() or has_many
> () for composite foreign keys?  If these tables are 1-to-1 and you were
> trying to get a CustStoreDetails that matches the primary key of the
> Xref record, you will need to write a custom set_sql() query for that.

No, I wasn't aware that C::DBI doesn't support composite foreign keys.
 I'll write custom set_sql() queries for the few times that I need to
join these tables.

Thanks for your help and clarification.  Sorry for any confusion.
Kevin
--=20
Kevin Old
kevinold@xxxxx.xxx

Composite keys
Kevin Old 19:53 on 04 May 2005

Re: Composite keys
Perrin Harkins 20:24 on 04 May 2005

Re: Composite keys
Kevin Old 20:59 on 04 May 2005

Re: Composite keys
Perrin Harkins 21:10 on 04 May 2005

Re: Composite keys
Kevin Old 21:45 on 04 May 2005

Generated at 16:36 on 28 Jul 2005 by mariachi v0.52