Re: [Sqlalchemy-tickets] [sqlalchemy] #2183: support "ON DELETE/UPDATE" in Foreign Key Reflection
Brought to you by:
zzzeek
|
From: sqlalchemy <mi...@zz...> - 2013-10-13 17:54:51
|
#2183: support "ON DELETE/UPDATE" in Foreign Key Reflection
------------------------------+-------------------------------
Reporter: guest | Owner: zzzeek
Type: enhancement | Status: new
Priority: high | Milestone: 0.9.0
Component: schema | Severity: major - 1-3 hours
Resolution: | Keywords:
Progress State: in progress |
------------------------------+-------------------------------
Changes (by zzzeek):
* priority: medium => high
* status_field: awaiting triage => in progress
* milestone: 0.x.xx => 0.9.0
Comment:
we already do this for MySQL. For Postgresql we have
https://github.com/zzzeek/sqlalchemy/pull/34. so the spec here is that
it's part of "options" in the FK spec.
next part, this is fairly straightforward, link up those options in
reflection.py where we generate the `ForeignKeyConstraint`.
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2183#comment:3>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|