mirror of
https://github.com/django/django.git
synced 2025-11-25 13:13:28 +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:
parent
7e3c9c3205
commit
e20e5d1557
2 changed files with 22 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue