1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #33820 -- Doc'd "true"/"false"/"null" caveat for JSONField key transforms on SQLite.

Thanks Johnny Metz for the report.

Regression in 71ec102b01.
This commit is contained in:
Mariusz Felisiak
2022-07-26 20:21:27 +02:00
committed by GitHub
parent 7e3c9c3205
commit e20e5d1557
2 changed files with 22 additions and 0 deletions

View File

@@ -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