When using more complex, hierarchical models with differing settings on
how cascade deletes are handled it gets quite hard to figure out
beforehand what a delete() will exactly do with the database.
I couldn't find any way to get this piece of information ("Hey
SQLAlchemy, what will be deleted if I delete that object over there?")
from SQLAlchemy. Implementing this by myself doesn't really seem like an
option since this would result sooner or later in situations where my
prediction and the actual consequences of the delete() differ, which
would be very… unpleasant for the user.
(This question was also posted on SO:
http://stackoverflow.com/q/16875605/675646 )
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.