Re:

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

From: Jay Strauss
Subject: Re:
Date: 13:26 on 28 Apr 2005
Jonathan Steinert wrote:
> I'm trying to build a relatively simple object relationship, two tables
> containing the following (to start)
> 
...
I wonder if your having a hard time because of primary keys.  That is 
maybe you should define the "edges" table like

ID
Child
Parent

Then you could use a single "Vector" class with 2 has_a's, one along the 
parent and one along the child.

Otherwise if you define the Vector table with a multi key primary key 
(MKPK), I think you'll run into a bug about having an MKPK and has_a's 
on the pk columns

Jay


Jonathan Steinert 09:21 on 28 Apr 2005

Re:
Jay Strauss 13:26 on 28 Apr 2005

Re:
Tony Bowden 13:53 on 28 Apr 2005

Re:
Perrin Harkins 17:28 on 28 Apr 2005

Re:
Tony Bowden 19:52 on 28 Apr 2005

Re: Multi Multi problems (was a null subject)
Jonathan Steinert 17:06 on 28 Apr 2005

Re: Multi Multi problems (was a null subject)
Matt S Trout 17:26 on 28 Apr 2005

Re: Multi Multi problems (was a null subject)
Perrin Harkins 17:37 on 28 Apr 2005

Re: Multi Multi problems (was a null subject)
Jonathan Steinert 19:06 on 28 Apr 2005

Re: Multi Multi problems (was a null subject)
Tony Bowden 19:53 on 28 Apr 2005

Generated at 10:24 on 04 May 2005 by mariachi v0.52