]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- rework the JSON expression system so that "astext" is called *after*
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 27 Dec 2013 23:25:57 +0000 (18:25 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 27 Dec 2013 23:25:57 +0000 (18:25 -0500)
commit2104d0ba2d612a26d363a3049d5e49efe4284e15
tree94878393dfd1d689dd5173e86c575af4b44c5261
parentde786a4208e621229769a8fb1f876f358dc4e70e
- rework the JSON expression system so that "astext" is called *after*
the indexing.  this is for more natural operation.
- also add cast() to the JSON expression to complement astext. This integrates
the CAST call which will be needed frequently.  Part of [ticket:2687].
- it's a little unclear how more advanced unicode attribute-access is going to go,
some quick attempts at testing yielded strange error messages from psycopg2.
- do other cross linking as mentioned in [ticket:2687].
doc/build/changelog/migration_09.rst
doc/build/dialects/postgresql.rst
lib/sqlalchemy/dialects/postgresql/__init__.py
lib/sqlalchemy/dialects/postgresql/json.py
lib/sqlalchemy/sql/elements.py
test/dialect/postgresql/test_types.py