]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Allow stringify compiler to render unnamed column
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 2 Sep 2016 15:48:15 +0000 (11:48 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 2 Sep 2016 15:48:15 +0000 (11:48 -0400)
commit9a6947427af58eeb6ebf09ec6de2a1b7ec12d828
tree963379c329e48e7dfb82ef49a3a24bc514ffb254
parentf6022839c29f7f96cb9d279aaf2e44e81cafb661
Allow stringify compiler to render unnamed column

Stringify of expression with unnamed :class:`.Column` objects, as
occurs in lots of situations including ORM error reporting,
will now render the name in string context as "<name unknown>"
rather than raising a compile error.

Change-Id: I76f637c5eb4cfdb1b526964cb001565b97e296da
Fixes: #3789
doc/build/changelog/changelog_11.rst
lib/sqlalchemy/sql/compiler.py
test/sql/test_compiler.py