[Dbix-class] specify join type

Bernhard Graf dbic3 at augensalat.de
Thu Feb 19 17:56:47 GMT 2009


Iain wrote:

> This is what we do, however we forgot to turn off cascading on the
> extra relationship e.g.
>
> {cascade_delete => 0, cascade_copy => 0, join_type => 'left'}
>
> and it caused us all kinds of fun.

hehe. ;-)

Is it necessary to put the cascade_* attrs on both sides, or is it 
enough having it in has_many only?

-- 
Bernhard Graf



More information about the DBIx-Class mailing list