From 238c2c8dbe3ca5b92d298b39e96f81eb416d1413 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 5 Dec 2007 03:07:21 +0000 Subject: - 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. --- lib/sqlalchemy/databases/firebird.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/sqlalchemy/databases/firebird.py') 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" -- cgit v1.2.1