Re: [Sqlalchemy-users] ForeignKey server side constraints.

2006-06-06 Thread Michael Bayer
On Jun 6, 2006, at 5:27 PM, Randall Smith wrote: > I see that foreign key properties (delete-orphan, etc) are defined > when > a mapper is created. So I would think that the database options ON > DELETE CASCADE, ON UPDATE CASCADE, etc. can't be defined in my table > definitions such that when

[Sqlalchemy-users] ForeignKey server side constraints.

2006-06-06 Thread Randall Smith
I see that foreign key properties (delete-orphan, etc) are defined when a mapper is created. So I would think that the database options ON DELETE CASCADE, ON UPDATE CASCADE, etc. can't be defined in my table definitions such that when I issue the command metadata.create_all() the foreign keys