"keep_existing" flag on Table - "extend_existing" will deprecate 'useexisting'

Issue #2109 resolved
Mike Bayer repo owner created an issue
Table("foo", metadata, 
x, y, z, UniqueConstraint(...),
keep_existing=True)

uses the existing table "foo" and ignores all arguments. This prevents redundant constraints, sequences, etc. going forward this is probably what people want instead of 'useexisting'.

the deprecation message should read "superceded by 'keep_existing' and 'extend_existing'".

Comments (2)

  1. Log in to comment