]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fixed issue with :meth:`.TypeEngine.bind_expression` and
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 7 Aug 2018 22:59:05 +0000 (18:59 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 8 Aug 2018 21:29:32 +0000 (17:29 -0400)
commitf03c7918796e1080d971a9c03943962478be4caf
tree1fc625022979151be27a9a3403726a4d2179f44d
parentb17fa2513e412b8f9aa1f62c0acc7fa3805e632b
Fixed issue with :meth:`.TypeEngine.bind_expression` and
:meth:`.TypeEngine.column_expression` methods where these methods would not
work if the target type were part of a :class:`.Variant`, or other target
type of a :class:`.TypeDecorator`.  Additionally, the SQL compiler now
calls upon the dialect-level implementation when it renders these methods
so that dialects can now provide for SQL-level processing for built-in
types.

Change-Id: Ic7b39575184db582e628e6ecee48dcda7d03a817
Fixes: #3981
doc/build/changelog/migration_13.rst
doc/build/changelog/unreleased_13/3981.rst [new file with mode: 0644]
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/type_api.py
test/aaa_profiling/test_compiler.py
test/profiles.txt
test/sql/test_type_expressions.py