summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2005-10-23 20:40:22 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2005-10-23 20:40:22 +0000
commit9a2a2dfc7ac91770227fd2c420b126e745c5d3f1 (patch)
tree612cabdaa4561f64f978e178ff3c3e1a4e3ce7ad /lib/sqlalchemy/sql.py
parentf56d75c3ad9fbe7ff85b5b65698cd5696d12ee28 (diff)
downloadsqlalchemy-9a2a2dfc7ac91770227fd2c420b126e745c5d3f1.tar.gz
Diffstat (limited to 'lib/sqlalchemy/sql.py')
-rw-r--r--lib/sqlalchemy/sql.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/sql.py b/lib/sqlalchemy/sql.py
index a5a97a9e8..fa2baf06d 100644
--- a/lib/sqlalchemy/sql.py
+++ b/lib/sqlalchemy/sql.py
@@ -225,7 +225,7 @@ class ClauseElement(object):
return self
- def compile(self, engine = None, bindparams = None):
+ def compile(self, engine = None, bindparams = None, typemap=None):
"""compiles this SQL expression using its underlying SQLEngine to produce
a Compiled object. If no engine can be found, an ansisql engine is used.
bindparams is a dictionary representing the default bind parameters to be used with
@@ -239,7 +239,7 @@ class ClauseElement(object):
engine = ansisql.engine()
#raise "no engine supplied, and no engine could be located within the clauses!"
- return engine.compile(self, bindparams = bindparams)
+ return engine.compile(self, bindparams = bindparams, typemap=typemap)
def __str__(self):
return str(self.compile())