Files
sqlalchemy/test/sql
Mike Bayer 77a17797ec use ExpressionElementRole for case targets in case()
Fixed regression where the :func:`_sql.text` construct would no longer be
accepted as a target case in the "whens" list within a :func:`_sql.case`
construct. The regression appears related to an attempt to guard against
some forms of literal values that were considered to be ambiguous when
passed here; however, there's no reason the target cases shouldn't be
interpreted as open-ended SQL expressions just like anywhere else, and a
literal string or tuple will be converted to a bound parameter as would be
the case elsewhere.

Fixes: #7287
Change-Id: I75478adfa115f3292cb1362cc5b2fdf152b0ed6f
2021-11-03 21:34:32 -04:00
..
2021-09-21 22:36:27 -04:00
2021-07-12 18:50:29 -04:00
2021-08-17 14:30:24 -04:00
2021-05-12 22:10:19 +02:00
2021-07-21 16:14:43 -04:00