Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: copy in DBIX:Class

by castaway (Parson)
on Apr 16, 2007 at 12:39 UTC ( #610334=note: print w/replies, xml ) Need Help??

in reply to copy in DBIX:Class

Set "cascade_copy => 0" in your relationship attributes, that will prevent it from copying them.


Replies are listed 'Best First'.
Re^2: copy in DBIX:Class
by palette (Scribe) on May 08, 2007 at 15:32 UTC
    __PACKAGE__->has_many(o=> 'DSLP2::Main::O','id',{cascade_copy=>0})

    will this work.