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:10:40 -0500 |
| commit | e2404a4e3fbec54336068be4397e2d8912b9f43c (patch) | |
| tree | b3c2dfa3b74217f8ce85c71f9791875720b7cd79 /lib/sqlalchemy | |
| parent | f87fe4c351316889a70a9dc6145d349dabc3412c (diff) | |
| download | sqlalchemy-e2404a4e3fbec54336068be4397e2d8912b9f43c.tar.gz | |
- add literal_binds for delete() statements in addition to insert()/update()
- move tests to CRUDTest
- changelog, fixes #3643
(cherry picked from commit 150591f9e0a94902cb2a76b68ac7c9d8a1a3ec83)
Diffstat (limited to 'lib/sqlalchemy')
| -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 ec16511f1..0a824b466 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -2067,7 +2067,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 |
