]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- use_labels flag on select() wont auto-create labels for literal text
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 1 Mar 2007 20:14:17 +0000 (20:14 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 1 Mar 2007 20:14:17 +0000 (20:14 +0000)
commit7e2ae824a56c760286e33adce03324b8e696472a
treee2b0a85db431cf4a7234aa027d2a0453aa615bfd
parentd94384253f496be5f8db9745a2cac8fc6c82c69b
- use_labels flag on select() wont auto-create labels for literal text
column elements, since we can make no assumptions about the text. to
create labels for literal columns, you can say "somecol AS somelabel",
or use literal_column("somecol").label("somelabel")
- quoting wont occur for literal columns when they are "proxied" into the
column collection for their selectable (is_literal flag is propigated)
CHANGES
lib/sqlalchemy/ansisql.py
lib/sqlalchemy/sql.py
test/orm/abc_inheritance.py
test/sql/select.py