Pedro Romano
2011-12-15 09:06:36 UTC
Hi! Tried searching around for information on this topic but couldn't
find anything, so here's the question: is it possible to use passive
deletes with joined table inheritance? Setting the
'ondelete="CASCADE"' on the foreign key declaration of the child class
primary key is trivial, however there is no explicit relationship
between child and parent class where the 'passive_deletes=True'
attribute can be set. Is there any supported way to achieve this, or
should it always be left to 'SQLAlchemy' to issue the deletes for both
tables?
Thanks in advance for any help regaeding this issue.
--Pedro.
find anything, so here's the question: is it possible to use passive
deletes with joined table inheritance? Setting the
'ondelete="CASCADE"' on the foreign key declaration of the child class
primary key is trivial, however there is no explicit relationship
between child and parent class where the 'passive_deletes=True'
attribute can be set. Is there any supported way to achieve this, or
should it always be left to 'SQLAlchemy' to issue the deletes for both
tables?
Thanks in advance for any help regaeding this issue.
--Pedro.
--
You received this message because you are subscribed to the Google Groups "sqlalchemy" group.
To post to this group, send email to ***@googlegroups.com.
To unsubscribe from this group, send email to sqlalchemy+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
You received this message because you are subscribed to the Google Groups "sqlalchemy" group.
To post to this group, send email to ***@googlegroups.com.
To unsubscribe from this group, send email to sqlalchemy+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.