Re: [SQLObject] Foreign Key + Constraints?
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Ian B. <ia...@co...> - 2003-12-03 16:31:34
|
On Dec 3, 2003, at 8:59 AM, Sidnei da Silva wrote: > I just realized that when using ForeignKey, the created table doesn't > create the foreign key constraints. I would like to add that + the > 'cascade' option to ForeignKey, at least on Postgres. Is there any > objection on doing so? That's fine. It would be nice if MySQL and SQLite could also do cascades, from the SQL side, i.e., destroySelf() would do the cascade manually -- at least consider the necessary hooks. Firebird is probably like Postgres, but I don't know if the syntax matches. -- Ian Bicking | ia...@co... | http://blog.ianbicking.org |