diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-09-04 00:08:57 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-09-04 00:08:57 +0000 |
commit | 3126d464e7124cde24b18ba7efc318913d2ac40d (patch) | |
tree | 33dd8fdda1ea8a3aae5c75cfbbdded60a1b01997 /lib/sqlalchemy/databases/mssql.py | |
parent | c9924a4a145f06eac427fe60c54d4c58b894167f (diff) | |
download | sqlalchemy-3126d464e7124cde24b18ba7efc318913d2ac40d.tar.gz |
- removed "parameters" argument from clauseelement.compile(), replaced with
"column_keys". the parameters sent to execute() only interact with the
insert/update statement compilation process in terms of the column names
present but not the values for those columns.
produces more consistent execute/executemany behavior, simplifies things a
bit internally.
Diffstat (limited to 'lib/sqlalchemy/databases/mssql.py')
-rw-r--r-- | lib/sqlalchemy/databases/mssql.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/databases/mssql.py b/lib/sqlalchemy/databases/mssql.py index 3e8949e14..7b0defc2a 100644 --- a/lib/sqlalchemy/databases/mssql.py +++ b/lib/sqlalchemy/databases/mssql.py @@ -847,8 +847,8 @@ dialect_mapping = { class MSSQLCompiler(compiler.DefaultCompiler): - def __init__(self, dialect, statement, parameters, **kwargs): - super(MSSQLCompiler, self).__init__(dialect, statement, parameters, **kwargs) + def __init__(self, *args, **kwargs): + super(MSSQLCompiler, self).__init__(*args, **kwargs) self.tablealiases = {} def get_select_precolumns(self, select): |