diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-12-08 16:17:20 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-12-08 16:17:20 -0500 |
commit | 8070cbde716a247f8b31c1334c80fa53327e6d8e (patch) | |
tree | 7c610799dcedc15265c2f8264d32cd1ca240b6ef /lib/sqlalchemy/sql/compiler.py | |
parent | 927b9859834096dd77182f935ff611351407f0dc (diff) | |
download | sqlalchemy-8070cbde716a247f8b31c1334c80fa53327e6d8e.tar.gz |
internally at least refer to multirow as "multivalues", to distinguish between
an INSERT that's used in executemany() as opposed to one which has a VALUES
clause with multiple entries.
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
-rw-r--r-- | lib/sqlalchemy/sql/compiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index 1e8bc3760..87b549f47 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -1286,7 +1286,7 @@ class SQLCompiler(engine.Compiled): self.dialect.name) if insert_stmt._has_multi_parameters: - if not self.dialect.supports_multirow_insert: + if not self.dialect.supports_multivalues_insert: raise exc.CompileError("The '%s' dialect with current database " "version settings does not support " "in-place multirow inserts." % |