Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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.

C.


Comment on Re: copy in DBIX:Class
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://610334]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (17)
As of 2015-07-30 15:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (272 votes), past polls