]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Support unique bound parameters for text()
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 23 Oct 2019 17:03:09 +0000 (13:03 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 23 Oct 2019 18:12:14 +0000 (14:12 -0400)
commit6028185f725d3052be77f617f9e9ad21b6522177
treeb10a8ab7fc94bc870abf05a93e7ffc46deeaf9af
parentcdf6761e879baa2af03e13b5a7a3f10ae4d9ac91
Support unique bound parameters for text()

The :func:`.text` construct now supports "unique" bound parameters, which
will dynamically uniquify themselves on compilation thus allowing multiple
:func:`.text` constructs with the same bound parameter names to be combined
together.

This is a backport from part of 36e8fe4 / #4808 to 1.3.

Fixes: #4933
Change-Id: Ide4069ff5cccd5ed83a5f314e5f21e51dfe08b7d
(cherry picked from commit 8caaa4fba0fbe08f73d09f5b585f12c0857d0de9)
doc/build/changelog/unreleased_13/4933.rst [new file with mode: 0644]
lib/sqlalchemy/sql/elements.py
test/sql/test_text.py