summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/sqlite/json.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/dialects/sqlite/json.py')
-rw-r--r--lib/sqlalchemy/dialects/sqlite/json.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/sqlalchemy/dialects/sqlite/json.py b/lib/sqlalchemy/dialects/sqlite/json.py
index 775f557f8..fadec3ce3 100644
--- a/lib/sqlalchemy/dialects/sqlite/json.py
+++ b/lib/sqlalchemy/dialects/sqlite/json.py
@@ -9,6 +9,14 @@ class JSON(sqltypes.JSON):
`loadable extension <https://www.sqlite.org/loadext.html>`_ and as such
may not be available, or may require run-time loading.
+ :class:`_sqlite.JSON` is used automatically whenever the base
+ :class:`_types.JSON` datatype is used against a SQLite backend.
+
+ .. seealso::
+
+ :class:`_types.JSON` - main documenation for the generic
+ cross-platform JSON datatype.
+
The :class:`_sqlite.JSON` type supports persistence of JSON values
as well as the core index operations provided by :class:`_types.JSON`
datatype, by adapting the operations to render the ``JSON_EXTRACT``
@@ -16,11 +24,9 @@ class JSON(sqltypes.JSON):
Extracted values are quoted in order to ensure that the results are
always JSON string values.
- .. versionadded:: 1.3
- .. seealso::
+ .. versionadded:: 1.3
- JSON1_
.. _JSON1: https://www.sqlite.org/json1.html