[Catalyst] Re: Adding relationships to loaded CDBI models

Aaron Ross aaron at aaronelliotross.com
Tue Jun 21 15:37:06 CEST 2005


> The other thing on my mind is has_many mapping relationships. Can we also
> agree that where there is a table with a two-field primary key in which each
> field refers to the primary key of another table, then that is a has_many
> mapping relationship? If so, let's write that as well. I'll be happy to do
> it, if there's a consensus.

I think that's right and I'd love to see it.

Is there a reason to limit it to single column primary keys? Or is it 
just a good starting point?

Aaron



More information about the Catalyst mailing list