]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
implement literal_binds with expanding + bind_expression
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 15 Dec 2022 15:22:36 +0000 (10:22 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 15 Dec 2022 15:34:23 +0000 (10:34 -0500)
commite06ef2154210ce1a5ced6f58330a258f7adfaa55
tree5e2d1be6d890ba6586ea4d290e88415ce05dea6e
parent0f5b3040a419fad404d3e2ea8abfb781be228066
implement literal_binds with expanding + bind_expression

Fixed bug where SQL compilation would fail to make use of
:meth:`_types.TypeEngine.bind_expression` on a given type when used in the
context of an "expanding" (i.e. "IN") parameter with the ``literal_binds``
compiler parameter in use.

Fixes: #8989
Change-Id: Ic9fd27b46381b488117295ea5a492d8fc158e39f
doc/build/changelog/unreleased_14/8989.rst [new file with mode: 0644]
lib/sqlalchemy/sql/compiler.py
test/sql/test_type_expressions.py