given a one-to-many, and the one is deleted I want the many's to be set null.
How do I specify that in a relation cascade rule?
cascade="null-orphan" ?
and does save-update mean the same as "on update cascade" ?
"on update|delete" is not supported yet by SA; see ticket 75: http://www.sqlalchemy.org/trac/ticket/75
The cascade stuff in SA is about how dependent objects are treated by the parent's Session.
("on delete cascade" _in the db_ is not supported either but SA knows how to delete dependant objects itself.)
--
Jonathan Ellis
http://spyced.blogspot.com
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Sqlalchemy-users mailing list Sqlalchemy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users