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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user