diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-04-07 21:43:17 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-04-08 10:29:08 -0400 |
| commit | df078a6fb010e28cb14afa1f0947add1f60e0e52 (patch) | |
| tree | cebfa19139094d45347373bfdc830c8f675881f1 /lib/sqlalchemy/sql/default_comparator.py | |
| parent | 4d21920638af4729b6ff09b1ac8c3a20878bd922 (diff) | |
| download | sqlalchemy-df078a6fb010e28cb14afa1f0947add1f60e0e52.tar.gz | |
Infer types in BindParameter when expanding=True
Enhanced the "expanding" feature used for :meth:`_sql.ColumnOperators.in_`
operations to infer the type of expression from the right hand list of
elements, if the left hand side does not have any explicit type set up.
This allows the expression to support stringification among other things.
In 1.3, "expanding" was not automatically used for
:meth:`_sql.ColumnOperators.in_` expressions, so in that sense this change
fixes a behavioral regression.
Fixes: #6222
Change-Id: Icdfda1e2c226a21896cafd6d8f251547794451c2
Diffstat (limited to 'lib/sqlalchemy/sql/default_comparator.py')
0 files changed, 0 insertions, 0 deletions
