diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-02-03 11:07:44 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-02-03 11:07:44 -0500 |
commit | 150591f9e0a94902cb2a76b68ac7c9d8a1a3ec83 (patch) | |
tree | 88e0853370bc6d306f54047b5c85cf9bb4155e24 /lib/sqlalchemy/sql/compiler.py | |
parent | c9b03fa8afd52646aba8c59fc038330eeee6db60 (diff) | |
download | sqlalchemy-150591f9e0a94902cb2a76b68ac7c9d8a1a3ec83.tar.gz |
- add literal_binds for delete() statements in addition to insert()/update()
- move tests to CRUDTest
- changelog, fixes #3643
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 993956ef0..dbaa23a5d 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -2094,7 +2094,7 @@ class SQLCompiler(Compiled): delete_stmt, delete_stmt._returning) if delete_stmt._whereclause is not None: - t = delete_stmt._whereclause._compiler_dispatch(self) + t = delete_stmt._whereclause._compiler_dispatch(self, **kw) if t: text += " WHERE " + t |