]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Render bind cast in json and jsonb in PG
authorFederico Caselli <cfederico87@gmail.com>
Sun, 13 Oct 2024 16:32:46 +0000 (18:32 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Sun, 13 Oct 2024 16:33:04 +0000 (18:33 +0200)
commita0251d4e6136d37d4cdf2281ad2b308d2ebe5a65
tree738c4415a00e9ad3f986a0681c806dcb8072a85b
parent0dda26af500941b9ec916e1be5b6091f7072578f
Render bind cast in json and jsonb in PG

Render bind cast for ``JSON`` and ``JSONB`` datatype on every dialect.
Previously this was only enabled in a subset of dialects.
Fixes: #11994
Change-Id: Ib085deb3e84034dac9e4f4057d32f055d5533e52
(cherry picked from commit b2648e69f2375f7257cbe04b16f663d97795db19)
doc/build/changelog/unreleased_20/11994.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/asyncpg.py
lib/sqlalchemy/dialects/postgresql/json.py
lib/sqlalchemy/dialects/postgresql/psycopg.py
test/dialect/postgresql/test_query.py
test/dialect/postgresql/test_types.py