db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schneider, Jim" <Jim.Schnei...@Level3.com>
Subject RE: Cascading delete?
Date Mon, 07 Apr 2003 18:28:19 GMT
<foreign-key foreignTable="MY_TABLE"
          name="MY_TABLE_FK"
          onDelete="cascade">
          <!-- reference info -->
        </foreign-key>

I can't remember for sure, but I think "cascade" is the option for the
onDelete attribute.

Jim

-----Original Message-----
From: Gabriel Bauman [mailto:gabe@bravenet.com]
Sent: Monday, April 07, 2003 12:19 PM
To: Turbine Torque Users List
Subject: Cascading delete?


Hello again,

Is there a configuration option that generates code to do cascading 
deletions on foreign key records? So, if I had a Cart record and a bunch

of Item records associated with Cart, I could just delete Cart and have 
Torque clean up the Items.

Easy enough to implement, but just wondering if it's been done.

Thanks,

Gabe


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org

Mime
View raw message