]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Anonymous labeling is applied to a :attr:`.func` construct that is
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 26 Feb 2016 05:20:39 +0000 (00:20 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 26 Feb 2016 05:20:39 +0000 (00:20 -0500)
commit0210695bd97e76f58d8781b69337816501482fb0
tree8d86db3143a258142c92ad7820f62a61a24409e2
parentf8914288f012c4ef635531f09a0e13bcacacdb2a
- Anonymous labeling is applied to a :attr:`.func` construct that is
passed to :func:`.column_property`, so that if the same attribute
is referred to as a column expression twice the names are de-duped,
thus avoiding "ambiguous column" errors.   Previously, the
``.label(None)`` would need to be applied in order for the name
to be de-anonymized.
fixes #3663
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/sql/elements.py
test/orm/test_query.py