Hello,

What's the difference between using object "ForeignKeyConstraint" or 
using object "Column" with a ForeignKey object as argument ?

 From this question follows this other one: what's the difference 
between using onupdate="CASCADE", ondelete="CASCADE" from 
"ForeignKeyConstraint" and argument cascade="all, delete-orphan" from 
the relation() function ?

I don't know which should be used between those 2 explanations in the docs:

http://www.sqlalchemy.org/docs/datamapping.myt#datamapping_relations_lifecycle

and

http://www.sqlalchemy.org/docs/metadata.myt#metadata_tables_onupdate

Regards,
-- 
Alexandre CONRAD

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sqlalchemy
-~----------~----~----~----~------~----~------~--~---

Reply via email to