]> 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:34:35 +0000 (14:34 -0400)
commit9a7c411def962d3a5f71e064bc5164fd9dd7c934
treecabe7d27d53a06a5773d3edb06f8474258849f0f
parent11b34453ce8bfd15ea0c2d64b0d7b5d55ebfc005
- 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