Michael Bayer ha scritto:
use ForeignKeyConstraint.
Yes, I have used it.
But why ForeignKey does not allow this?
Regards Manlio Perillo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
sqlalchemy group.
To
it was modeled after SQL CREATE TABLE syntax itself, where the
ForeignKey keyword looks like column REFERENCES
sometable(othercolumn) and does not allow any ON UPDATE or ON DELETE
clauses at that level; they would be declared at the bottom of the
table def inside the CONSTRAINT foo FOREIGN KEY...