]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
The case() function now also takes a dictionary as its whens parameter. But beware...
authorAnts Aasma <ants.aasma@gmail.com>
Thu, 3 Apr 2008 14:08:22 +0000 (14:08 +0000)
committerAnts Aasma <ants.aasma@gmail.com>
Thu, 3 Apr 2008 14:08:22 +0000 (14:08 +0000)
commit921efb250c284ee121e9fc9d0f12eb2612047645
tree2d578af6447a11eec9008f8540eb63b6d2eb5616
parentf899d7900509cbfdffdf8c48a93e908ed2249b77
The case() function now also takes a dictionary as its whens parameter. But beware that it doesn't escape literals, use the literal construct for that.
CHANGES
lib/sqlalchemy/sql/expression.py
test/sql/case_statement.py