#19415: Clarify how aggregates work with multi-valued relationships and multiple
filter() calls
--------------------------------------+------------------------------------
Reporter: svniemeijer@… | Owner:
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by svniemeijer):
This documentation fragment does indeed get to the core of what is
happening, but I still had to read it several times to understand the
difference. To me ''and'' and ''as well as'' mean the same thing.
It may be useful to refer to the concepts of union and intersection,
because the first example gives an annotation on the intersection of books
matching the two conditions whereas the second one gives an annotation on
the union of them.
--
Ticket URL: <https://code.djangoproject.com/ticket/19415#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/077.82dfd452bcf1683c11f46cf2a3306fe1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.