]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The 'useexisting' flag on Table has been superceded
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 5 Apr 2011 16:04:42 +0000 (12:04 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 5 Apr 2011 16:04:42 +0000 (12:04 -0400)
commitd34bc7da318978f6d0235e5747e94160959eb276
tree1030ebdfd8a7a345ce777e3f0d9719d1aefa5b3e
parentcfc12748348dc3e183edc16b1711ae3d466cc2e0
- The 'useexisting' flag on Table has been superceded
by a new pair of flags 'keep_existing' and
'extend_existing'.   'extend_existing' is equivalent
to 'useexisting' - the existing Table is returned,
and additional constructor elements are added.
With 'keep_existing', the existing Table is returned,
but additional constructor elements are not added -
these elements are only applied when the Table
is newly created.   [ticket:2109]
CHANGES
lib/sqlalchemy/schema.py
test/engine/test_reflection.py
test/sql/test_metadata.py