]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Adjusted the logic which applies names to the .c collection when
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 26 Feb 2014 20:45:52 +0000 (15:45 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 26 Feb 2014 20:45:52 +0000 (15:45 -0500)
commit6aeec027a0fb33348bdb8ec5b448044a67eff7c5
treef7f1528f6827e1259678904765db296fdd016324
parent302ad6228a12fe5cb4c5d332e5bab65ed373bc01
- Adjusted the logic which applies names to the .c collection when
a no-name :class:`.BindParameter` is received, e.g. via :func:`.sql.literal`
or similar; the "key" of the bind param is used as the key within
.c. rather than the rendered name.  Since these binds have "anonymous"
names in any case, this allows individual bound parameters to
have their own name within a selectable if they are otherwise unlabeled.
fixes #2974
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/sql/elements.py
test/sql/test_compiler.py
test/sql/test_update.py