Re: [Sqlalchemy-tickets] [sqlalchemy] #2843: Support for IF EXISTS/IF NOT EXISTS DDL constructs
Brought to you by:
zzzeek
|
From: sqlalchemy <mi...@zz...> - 2013-10-17 23:43:48
|
#2843: Support for IF EXISTS/IF NOT EXISTS DDL constructs
------------------------------+-------------------------------
Reporter: remyroy | Owner: zzzeek
Type: enhancement | Status: new
Priority: medium | Milestone: 0.9.xx
Component: schema | Severity: major - 1-3 hours
Resolution: | Keywords:
Progress State: in queue |
------------------------------+-------------------------------
Comment (by zzzeek):
I can enthusiastically make IF [NOT] EXISTS a part of the ddl.py sequence,
that is the sequence which is pretty much used only by methods like
create_all()/drop_all()/create()/drop(), if I understand exactly what use
case it serves - this because a feature is best designed when I have some
idea what it's used for. Perhaps it's useful if someone wants to capture
a create_all() sequence as a SQL string?
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2843#comment:6>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|