]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- FunctionElement subclasses are now directly executable the
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 7 Feb 2010 00:56:05 +0000 (00:56 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 7 Feb 2010 00:56:05 +0000 (00:56 +0000)
commit1c73149d5dd477ae882890e155e87f5dd9e4853f
tree1433f2fa80a06b2619f6aea5f12f0018572861a6
parent54df3ee2ab1052533f49e596d902d597eb140c52
- FunctionElement subclasses are now directly executable the
same way any func.foo() construct is, with automatic
SELECT being applied when passed to execute().

- The "type" and "bind" keyword arguments of a func.foo()
construct are now local to "func." constructs and are
not part of the FunctionElement base class, allowing
a "type" to be handled in a custom constructor or
class-level variable.
CHANGES
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/sql/expression.py
test/sql/test_functions.py