[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: - with pg JSON types, indexed/keyed access *always*
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2015-08-11 01:41:06
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/39adada25d71/ Changeset: 39adada25d71 Branch: ticket_3499 User: zzzeek Date: 2015-08-11 01:40:46+00:00 Summary: - with pg JSON types, indexed/keyed access *always* returns json/jsonb; e.g. it never is automatically cast to the type of element in the structure. therefore we really don't need the concept of index_map, it's overkill. Replace it with a simple callback in Indexable where each type does its own setup_getitem(), and we're done. Add a convenience "index_type" attribute to HSTORE and an "astext_type" attribute to JSON/JSONB.. Affected #: 5 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |