]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- polymorphic_union() gets a "cast_nulls" option,
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 12 May 2011 16:47:09 +0000 (12:47 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 12 May 2011 16:47:09 +0000 (12:47 -0400)
commit9826ba73a6a614a92be7104474428dde40c2d773
tree64f6f06570fffe2a8322529e2ca5c3bc765a1ca1
parent2101cf7f405e43465cc33a854df43a859bc8e3ab
  - polymorphic_union() gets a "cast_nulls" option,
    disables the usage of CAST when it renders
    the labeled NULL columns.  [ticket:1502]

  - polymorphic_union() renders the columns in their
    original table order, as according to the first
    table/selectable in the list of polymorphic
    unions in which they appear.  (which is itself
    an unordered mapping unless you pass an OrderedDict).
CHANGES
lib/sqlalchemy/orm/util.py
test/orm/inheritance/test_basic.py