diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2005-12-16 07:18:27 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2005-12-16 07:18:27 +0000 |
commit | 6cdba110a49b701e36f93d82e8772d1909385175 (patch) | |
tree | c1b96732b7e8241db9d5a2262676db140d9f7030 /lib/sqlalchemy/sql.py | |
parent | 1f30247e22a4a3a14eb7f57261e289cc26e61bf3 (diff) | |
download | sqlalchemy-6cdba110a49b701e36f93d82e8772d1909385175.tar.gz |
factored "sequence" execution in postgres in oracle to be generalized to the SQLEngine, to also allow space for "defaults" that may be constants, python functions, or SQL functions/statements
Sequence schema object extends from a more generic "Default" object
ANSICompiled can convert positinal params back to a dictionary, but the whole issue of parameters and how the engine executes compiled objects with parameters should be revisited
mysql has fixes for its "rowid_column" being hidden else it screws up some query construction, also will not use AUTOINCREMENT unless the column is Integer
Diffstat (limited to 'lib/sqlalchemy/sql.py')
-rw-r--r-- | lib/sqlalchemy/sql.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql.py b/lib/sqlalchemy/sql.py index 091c60730..86412c2db 100644 --- a/lib/sqlalchemy/sql.py +++ b/lib/sqlalchemy/sql.py @@ -253,7 +253,8 @@ class Compiled(ClauseVisitor): params = [self.get_params(**m) for m in multiparams] else: params = self.get_params(**params) - return self.engine.execute(str(self), params, compiled = self, typemap = self.typemap) + + return self.engine.execute(str(self), params, compiled=self, typemap=self.typemap) def scalar(self, *multiparams, **params): """executes this compiled object via the execute() method, then |