Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: DBIx::Class recursive fetch/delete?

by Ojosh!ro (Beadle)
on Apr 24, 2007 at 08:22 UTC ( [id://611668]=note: print w/replies, xml ) Need Help??


in reply to DBIx::Class recursive fetch/delete?

Hi, I don't know whether thishelps your case

Thanks, you sent me reading into another direction. While I was following the Class::DBI-link on the DBIx::Class documentation-site I found this: Music::CD->search(year => 1980, title => 'Greatest %')->delete_all;
I see DBIx::Class should be compatible.
Hope it helps you.

if( exists $aeons{strange} ){ die $death unless ( $death%2 ) }

Replies are listed 'Best First'.
Re^2: DBIx::Class recursive fetch/delete?
by stonecolddevin (Parson) on Apr 25, 2007 at 03:45 UTC

    That doesn't take into account that I need to pass multiple photo_ids.

    I'm wondering if I need to pass them as an array(ref) or some such?

    meh.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-25 17:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found