]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Added a supported :meth:`.FunctionElement.alias` method to functions,
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 24 Jul 2014 18:33:50 +0000 (14:33 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 24 Jul 2014 18:33:50 +0000 (14:33 -0400)
commit0df977ccad63831375d8a7bc6383385c331d9742
tree18d5f67dd70a7fb8090e230b7f86e2c3eece7c26
parent07c01b77f16a08cecdad2c80c1283bed46a7f815
- Added a supported :meth:`.FunctionElement.alias` method to functions,
e.g. the ``func`` construct.  Previously, behavior for this method
was undefined.  The current behavior mimics that of pre-0.9.4,
which is that the function is turned into a single-column FROM
clause with the given alias name, where the column itself is
anonymously named.
fixes #3137
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/sql/base.py
lib/sqlalchemy/sql/functions.py
test/sql/test_functions.py