]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Build string/int processors for JSONIndexType, JSONPathType
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 4 Aug 2016 15:56:31 +0000 (11:56 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 4 Aug 2016 16:38:58 +0000 (12:38 -0400)
commitf2fa9d000b44a54b0fd3ae6114eb5d53ef20c3b8
treed7cec44ced27243d7f0d4a62831e5f4de9903bdc
parentaf6f4ab938f1ef66491cf239c91ffff393275d95
Build string/int processors for JSONIndexType, JSONPathType

Fixed regression in JSON datatypes where the "literal processor" for
a JSON index value, that needs to take effect for example within DDL,
would not be invoked for the value.  The native String and Integer
datatypes are now called upon from within the JSONIndexType
and JSONPathType.  This is applied to the generic, Postgresql, and
MySQL JSON types.

Change-Id: Ifa5f2acfeee57a79d01d7fc85d265a37bd27c716
Fixes: #3765
doc/build/changelog/changelog_11.rst
lib/sqlalchemy/dialects/mysql/base.py
lib/sqlalchemy/dialects/mysql/json.py
lib/sqlalchemy/dialects/postgresql/json.py
lib/sqlalchemy/sql/sqltypes.py
lib/sqlalchemy/testing/suite/test_types.py
test/sql/test_types.py