I am using exactly that configuration.  However, I wish to delete just
the children objects and I have been
unable to do session.delete(o);session.flush(); o.kids = ... "
session.save(o)
which I expected to remove the object o and all the kids, then re-
insert o with the new kids.

On Dec 6, 10:43 am, Michael Bayer <[EMAIL PROTECTED]> wrote:
> i would think a regular cascade="all, delete-orphan" configuration
> would make this quite simple.
>
> http://www.sqlalchemy.org/docs/04/session.html#unitofwork_cascades
--~--~---------~--~----~------------~-------~--~----~
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