diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-12-27 18:25:57 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-12-27 18:25:57 -0500 |
| commit | 2104d0ba2d612a26d363a3049d5e49efe4284e15 (patch) | |
| tree | 94878393dfd1d689dd5173e86c575af4b44c5261 /doc | |
| parent | de786a4208e621229769a8fb1f876f358dc4e70e (diff) | |
| download | sqlalchemy-2104d0ba2d612a26d363a3049d5e49efe4284e15.tar.gz | |
- 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].
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/build/changelog/migration_09.rst | 13 | ||||
| -rw-r--r-- | doc/build/dialects/postgresql.rst | 3 |
2 files changed, 16 insertions, 0 deletions
diff --git a/doc/build/changelog/migration_09.rst b/doc/build/changelog/migration_09.rst index a8be06fda..6d374cf7a 100644 --- a/doc/build/changelog/migration_09.rst +++ b/doc/build/changelog/migration_09.rst @@ -920,6 +920,19 @@ from a backref:: :ticket:`1535` + +Postgresql JSON Type +-------------------- + +The Postgresql dialect now features a :class:`.postgresql.JSON` type to +complement the :class:`.postgresql.HSTORE` type. + +.. seealso:: + + :class:`.postgresql.JSON` + +:ticket:`2581` + Behavioral Improvements ======================= diff --git a/doc/build/dialects/postgresql.rst b/doc/build/dialects/postgresql.rst index 965ba7ebc..05b63506e 100644 --- a/doc/build/dialects/postgresql.rst +++ b/doc/build/dialects/postgresql.rst @@ -72,6 +72,9 @@ construction arguments, are as follows: .. autoclass:: JSON :members: +.. autoclass:: JSONElement + :members: + .. autoclass:: MACADDR :members: __init__ |
