]> 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:32:46 +0000 (18:32 +0200)
commitb2648e69f2375f7257cbe04b16f663d97795db19
tree33e2d2b085af9bd32b398c4a4b55272830656971
parenta98d31621d58d45e2a4d74351282cedddcfe85fa
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
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