]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- A :func:`.bindparam` construct with a "null" type (e.g. no type
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 21 Oct 2013 20:49:46 +0000 (16:49 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 21 Oct 2013 20:49:46 +0000 (16:49 -0400)
commit9caa92b96fef0b3e6d9d280407bc6a092a77b584
tree04100e4b13f32d9c3604a208146dc08a372a8e73
parent56976624169af6d0d329b4834ee9caa7243573dc
- A :func:`.bindparam` construct with a "null" type (e.g. no type
specified) is now copied when used in a typed expression, and the
new copy is assigned the actual type of the compared column.  Previously,
this logic would occur on the given :func:`.bindparam` in place.
Additionally, a similar process now occurs for :func:`.bindparam` constructs
passed to :meth:`.ValuesBase.values` for a :class:`.Insert` or
:class:`.Update` construct. [ticket:2850]
doc/build/changelog/changelog_09.rst
doc/build/changelog/migration_09.rst
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/default_comparator.py
test/sql/test_types.py