I have a table that has a foreign key field that is optional.  IOW, the current 
row may be linked to at most one row in the foreign table. If the foreign key 
field is not NULL, it must point to a valid row in the foreign table, but if it 
is NULL that means that it it not linked.

Is there an automatic way to have the value of the foreign key field set to 
NULL if the linked row in the foreign table is deleted?

Thanks,
Mark

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