On 4/3/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
> I don't see why I need to do that. If the f_class' PK is (id_one, id_two) I'm
> happy for belongs_to 'foo' => 'Foo' to create foo_id_one and foo_id_two 
> columns.

I really can't think of any better convention than this suggestion of
yours. However you'd still need to have syntax for manually specifying
them.

> I also want to have the 'reverse' attr on a belongs_to rather than explicit
> has_many calls - saves us having circular loading failure issues and means
> that the parent class can be re-used *without* the child class if suitable.

Yes, this makes sense. But how is this related to the previous
comment? (Or it is not?)

-Nilson Santos F. Jr.

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/

Reply via email to