Re: implied foreign keys

[prev] [thread] [next] [Date index for 2004/10/01]

From: Tony Bowden
Subject: Re: implied foreign keys
Date: 18:34 on 01 Oct 2004
On Fri, Oct 01, 2004 at 01:09:56PM -0400, William McKee wrote:
> it seems that some references[1,2] consider a foreign key to
> point to a primary key; others[3] are saying that a foreign key could
> point to a non-PK field as you are doing. Does anyone know if there a
> definitive answer?

Well, as the OP wanted the latter, then I guess that's your answer :)

Either way, Class::DBI is unlikely to support this natively, as I don't
believe it's very common. But it shouldn't be too difficult to write a
standalone Relationship plugin that DTRT here.

Tony

implied foreign keys
josh_f_peterson 13:18 on 01 Oct 2004

Re: implied foreign keys
Tony Bowden 14:04 on 01 Oct 2004

Re: implied foreign keys
Josh Peterson 15:35 on 01 Oct 2004

Re: implied foreign keys
William McKee 17:09 on 01 Oct 2004

Re: implied foreign keys
Tony Bowden 18:34 on 01 Oct 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52