hi there, i'm trying to delete an object from my database using the orm. according to 'sqlalchemy for people in a hurry docs 0.4' there is a delete() method on orm objects, so the following is possible,
sample.comments[0].delete() del sample.comment[0] and this will delete the comment from the database. i don't want to enable delete-orphan as the above is just an example. i'm using sqlalchemy version 0.4.1 and python 2.4.4 regards, brendan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---