Thanks for the excellent information Michael. Will need to think about
this and post again if I have further questions.

As for the delete/rm discussion, I guess it depends on your use case.
I usually run rm with -f flag which fails silently if no file is
found. But I get your point and you also provided a way to turn the
feature off. Thanks a lot.

On Sep 17, 3:59 pm, "Michael Bayer" <[email protected]> wrote:
> gizli wrote:
>
> > t1.delete(obj)
> > t2.delete(obj)
> > t2.commit()
> > t1.commit()
>
> I also forgot to mention that you can always use query.delete() or
> table.delete() to get a standard "relational" delete, though it does not
> offer in-python cascading.  This delete translates directly to DELETE with
> the given criterion and doesn't care if the rows matching its condition
> exist or not.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to