From 150591f9e0a94902cb2a76b68ac7c9d8a1a3ec83 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 3 Feb 2016 11:07:44 -0500 Subject: - add literal_binds for delete() statements in addition to insert()/update() - move tests to CRUDTest - changelog, fixes #3643 --- lib/sqlalchemy/sql/compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sqlalchemy/sql') 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 -- cgit v1.2.1