summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/databases/firebird.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-12-05 03:07:21 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-12-05 03:07:21 +0000
commit238c2c8dbe3ca5b92d298b39e96f81eb416d1413 (patch)
treeb123393efbbb06a1e0ebc84385f5964efa98f0b1 /lib/sqlalchemy/databases/firebird.py
parentc6bda7dcc89ae5f7842f0e900d3917024a74eb29 (diff)
downloadsqlalchemy-238c2c8dbe3ca5b92d298b39e96f81eb416d1413.tar.gz
- basic framework for generic functions, [ticket:615]
- changed the various "literal" generation functions to use an anonymous bind parameter. not much changes here except their labels now look like ":param_1", ":param_2" instead of ":literal" - from_obj keyword argument to select() can be a scalar or a list.
Diffstat (limited to 'lib/sqlalchemy/databases/firebird.py')
-rw-r--r--lib/sqlalchemy/databases/firebird.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sqlalchemy/databases/firebird.py b/lib/sqlalchemy/databases/firebird.py
index 7580a750a..3a13c4b69 100644
--- a/lib/sqlalchemy/databases/firebird.py
+++ b/lib/sqlalchemy/databases/firebird.py
@@ -354,11 +354,11 @@ class FBCompiler(compiler.DefaultCompiler):
else:
return self.process(alias.original, **kwargs)
- def apply_function_parens(self, func):
+ def function_argspec(self, func):
if func.clauses:
- return super(FBCompiler, self).apply_function_parens(func)
+ return self.process(func.clause_expr)
else:
- return False
+ return ""
def default_from(self):
return " FROM rdb$database"