On Feb 13, 3:26 pm, "Nebur" <[EMAIL PROTECTED]> wrote:
> Therefore, I expected the following declaration
>
>         mapper(Userdata, t_userdata, properties = {
>
> "myuser":relation(User,backref=backref("meta",cascade="delete"))
>                 })
>
>  to define a cascade where User.delete triggers a Userdata.delete.
> (I expected this because the "cascade" keyword is in the "backref",
> not in the "relation" !)

it does.  this is a bug in SA.  fix will be up shortly.


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