summaryrefslogtreecommitdiff
path: root/docs/topics/db
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2022-07-26 20:21:27 +0200
committerGitHub <noreply@github.com>2022-07-26 20:21:27 +0200
commite20e5d1557785ba71e8ef0ceb8ccb85bdc13840a (patch)
treebd494d4419ba3fde3c9c30673967d934ecaeef48 /docs/topics/db
parent7e3c9c3205e9646261cea5e5a7af7ec0e806690a (diff)
Fixed #33820 -- Doc'd "true"/"false"/"null" caveat for JSONField key transforms on SQLite.
Thanks Johnny Metz for the report. Regression in 71ec102b01fcc85acae3819426a4e02ef423b0fa.
Diffstat (limited to 'docs/topics/db')
-rw-r--r--docs/topics/db/queries.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt
index 2d43e7ee32..d256545453 100644
--- a/docs/topics/db/queries.txt
+++ b/docs/topics/db/queries.txt
@@ -1091,6 +1091,12 @@ To query for missing keys, use the ``isnull`` lookup::
On PostgreSQL, if only one key or index is used, the SQL operator ``->`` is
used. If multiple operators are used then the ``#>`` operator is used.
+.. admonition:: SQLite users
+
+ On SQLite, ``"true"``, ``"false"``, and ``"null"`` string values will
+ always be interpreted as ``True``, ``False``, and JSON ``null``
+ respectively.
+
.. _containment-and-key-lookups:
Containment and key lookups