[Catalyst] Re: Adding relationships to loaded CDBI models
Perrin Harkins
perrin at elem.com
Wed Jun 22 08:22:04 CEST 2005
On Wed, 2005-06-22 at 00:13 -0500, samwyse wrote:
> I don't see a
> difference between your method of deciding "might_have" and the method
> already used for "has_a".
If table A and table B have the same primay key and table B's primary
key references table A's primary key, then table A gets a might_have
relationship to table B. Table B could get a has_a method to table A as
well, but it doesn't matter because it should never get used.
- Perrin
More information about the Catalyst
mailing list