diff options
| author | David-Wobrock <david.wobrock@gmail.com> | 2020-11-13 22:34:16 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-11-16 15:15:41 +0100 |
| commit | 7b42d346465abb560d1b774bdf17d094fad75571 (patch) | |
| tree | 942c1b8a3b60899518757d2c842e844fdfa186f3 /docs | |
| parent | 4cce1d13cfe9d8e56921c5fa8c61e3034dc8e20c (diff) | |
Refs #27718 -- Doc'd and tested QuerySet.exists() for combined querysets.
Supported since 84c1826ded17b2d74f66717fb745fc36e37949fd.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/models/querysets.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 9e129932b2..c1a8fd1f3d 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -917,11 +917,11 @@ resulting ``QuerySet``. For example:: >>> qs1.union(qs2).order_by('name') In addition, only ``LIMIT``, ``OFFSET``, ``COUNT(*)``, ``ORDER BY``, and -specifying columns (i.e. slicing, :meth:`count`, :meth:`order_by`, and -:meth:`values()`/:meth:`values_list()`) are allowed on the resulting -``QuerySet``. Further, databases place restrictions on what operations are -allowed in the combined queries. For example, most databases don't allow -``LIMIT`` or ``OFFSET`` in the combined queries. +specifying columns (i.e. slicing, :meth:`count`, :meth:`exists`, +:meth:`order_by`, and :meth:`values()`/:meth:`values_list()`) are allowed +on the resulting ``QuerySet``. Further, databases place restrictions on +what operations are allowed in the combined queries. For example, most +databases don't allow ``LIMIT`` or ``OFFSET`` in the combined queries. ``intersection()`` ~~~~~~~~~~~~~~~~~~ |
