On Jul 4, 2009, at 2:21 AM, wobsta wrote:

>
> Hi,
>
> in my following example I don't know how to properly delete items in
> an ordered list. I can't call items.remove (as I would violate the
> "items must be in a list rule").

remove the item using remove().  What's the "items must be in a list  
rule", the not nullable foreign key ?  thats what "delete-orphan"  
cascade is for, its in the tutorial and reference documentation.



--~--~---------~--~----~------------~-------~--~----~
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