diff options
author | Federico Caselli <cfederico87@gmail.com> | 2023-04-12 23:17:38 +0200 |
---|---|---|
committer | Federico Caselli <cfederico87@gmail.com> | 2023-04-12 23:17:38 +0200 |
commit | ee7e49964fcf13ed0f5a3541b81f00302a9db29a (patch) | |
tree | 71d6b1cbfc8705658e2cfd8de56b817ca28fd67e /lib/sqlalchemy/dialects/postgresql/json.py | |
parent | 107ec58bdfbcbb09f40d92590f8197ffa683a925 (diff) | |
download | sqlalchemy-ee7e49964fcf13ed0f5a3541b81f00302a9db29a.tar.gz |
Remove old versionadded and versionchanged
Removed versionadded and versionchanged for version prior to 1.2 since they
are no longer useful.
Change-Id: I5c53d1188bc5fec3ab4be39ef761650ed8fa6d3e
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/json.py')
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/json.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/json.py b/lib/sqlalchemy/dialects/postgresql/json.py index 9c2936006..232f05804 100644 --- a/lib/sqlalchemy/dialects/postgresql/json.py +++ b/lib/sqlalchemy/dialects/postgresql/json.py @@ -183,12 +183,6 @@ class JSON(sqltypes.JSON): data_table.c.data[('key_1', 'key_2', 5, ..., 'key_n')].astext == 'some value' - .. versionchanged:: 1.1 The :meth:`_expression.ColumnElement.cast` - operator on - JSON objects now requires that the :attr:`.JSON.Comparator.astext` - modifier be called explicitly, if the cast works only from a textual - string. - Index operations return an expression object whose type defaults to :class:`_types.JSON` by default, so that further JSON-oriented instructions @@ -213,9 +207,6 @@ class JSON(sqltypes.JSON): :class:`_postgresql.JSONB` - .. versionchanged:: 1.1 :class:`_postgresql.JSON` is now a PostgreSQL- - specific specialization of the new :class:`_types.JSON` type. - """ # noqa astext_type = sqltypes.Text() @@ -231,9 +222,6 @@ class JSON(sqltypes.JSON): from sqlalchemy import null conn.execute(table.insert(), data=null()) - .. versionchanged:: 0.9.8 - Added ``none_as_null``, and :func:`.null` - is now supported in order to persist a NULL value. - .. seealso:: :attr:`_types.JSON.NULL` @@ -242,8 +230,6 @@ class JSON(sqltypes.JSON): :attr:`.JSON.Comparator.astext` accessor on indexed attributes. Defaults to :class:`_types.Text`. - .. versionadded:: 1.1 - """ super().__init__(none_as_null=none_as_null) if astext_type is not None: @@ -323,8 +309,6 @@ class JSONB(JSON): in the same way that ``psycopg2.extras.register_default_json`` is used to register these handlers with the json type. - .. versionadded:: 0.9.7 - .. seealso:: :class:`_types.JSON` |