summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/base.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-02-07 00:56:05 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2010-02-07 00:56:05 +0000
commit1c73149d5dd477ae882890e155e87f5dd9e4853f (patch)
tree1433f2fa80a06b2619f6aea5f12f0018572861a6 /lib/sqlalchemy/engine/base.py
parent54df3ee2ab1052533f49e596d902d597eb140c52 (diff)
downloadsqlalchemy-1c73149d5dd477ae882890e155e87f5dd9e4853f.tar.gz
- 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.
Diffstat (limited to 'lib/sqlalchemy/engine/base.py')
-rw-r--r--lib/sqlalchemy/engine/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py
index 6a4fa5d08..98d06a792 100644
--- a/lib/sqlalchemy/engine/base.py
+++ b/lib/sqlalchemy/engine/base.py
@@ -1194,7 +1194,7 @@ class Connection(Connectable):
# poor man's multimethod/generic function thingy
executors = {
- expression.Function: _execute_function,
+ expression.FunctionElement: _execute_function,
expression.ClauseElement: _execute_clauseelement,
Compiled: _execute_compiled,
schema.SchemaItem: _execute_default,