summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-02-26 07:52:16 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-03-23 08:28:47 +0100
commit71ec102b01fcc85acae3819426a4e02ef423b0fa (patch)
tree4bea91872f6ecf85f4deb2512e7d11f01d9803b0 /docs
parentc4df8b86c7fac52d95eda3440edc397fc13c3e56 (diff)
Fixed #32483 -- Fixed QuerySet.values()/values_list() on JSONField key transforms with booleans on SQLite.
Thanks Matthew Cornell for the report.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/models/querysets.txt12
1 files changed, 0 insertions, 12 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt
index 68f964faf5..add56ca4fd 100644
--- a/docs/ref/models/querysets.txt
+++ b/docs/ref/models/querysets.txt
@@ -695,12 +695,6 @@ You can also refer to fields on related models with reverse relations through
pronounced if you include multiple such fields in your ``values()`` query,
in which case all possible combinations will be returned.
-.. admonition:: Boolean values for ``JSONField`` on SQLite
-
- Due to the way the ``JSON_EXTRACT`` SQL function is implemented on SQLite,
- ``values()`` will return ``1`` and ``0`` instead of ``True`` and ``False``
- for :class:`~django.db.models.JSONField` key transforms.
-
``values_list()``
~~~~~~~~~~~~~~~~~
@@ -771,12 +765,6 @@ not having any author::
>>> Entry.objects.values_list('authors')
<QuerySet [('Noam Chomsky',), ('George Orwell',), (None,)]>
-.. admonition:: Boolean values for ``JSONField`` on SQLite
-
- Due to the way the ``JSON_EXTRACT`` SQL function is implemented on SQLite,
- ``values_list()`` will return ``1`` and ``0`` instead of ``True`` and
- ``False`` for :class:`~django.db.models.JSONField` key transforms.
-
``dates()``
~~~~~~~~~~~