]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- added "adapt_on_names" boolean flag to orm.aliased()
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 19 Sep 2011 20:48:39 +0000 (16:48 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 19 Sep 2011 20:48:39 +0000 (16:48 -0400)
commit00a2f0ef27d573066dfcaac509600876e8d71592
treed0fef7a38eff58f36f32c3c54e1d231a68df09db
parent57ae8672a6be786c32d79faca90666d5b654bce6
  - added "adapt_on_names" boolean flag to orm.aliased()
    construct.  Allows an aliased() construct
    to link the ORM entity to a selectable that contains
    aggregates or other derived forms of a particular
    attribute, provided the name is the same as that
    of the entity mapped column.
CHANGES
lib/sqlalchemy/orm/util.py
lib/sqlalchemy/sql/util.py
test/orm/test_froms.py
test/orm/test_query.py