Re: Composite keys
[prev]
[thread]
[next]
[Date index for 2005/05/04]
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