]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Provided a new attribute for :class:`.TypeDecorator`
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 22 Jun 2013 16:19:41 +0000 (12:19 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 22 Jun 2013 16:19:41 +0000 (12:19 -0400)
commiteba9d1b58f38577fb71d3374a2133d6e9159c277
tree15f7dd663b8dcbf98adcc15c065a937d327e1a89
parent38b54955118e6bb0f4e9664b50924a193f53e817
Provided a new attribute for :class:`.TypeDecorator`
called :attr:`.TypeDecorator.coerce_to_is_types`,
to make it easier to control how comparisons using
``==`` or ``!=`` to ``None`` and boolean types goes
about producing an ``IS`` expression, or a plain
equality expression with a bound parameter.
[ticket:2744]
doc/build/changelog/changelog_08.rst
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/sql/expression.py
lib/sqlalchemy/types.py
test/sql/test_types.py