Corrected typo in aggregation docs. Thanks to Ivan Sagalaev for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9746 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
3937de4e24
commit
14d15093bc
|
@ -167,7 +167,7 @@ in a store, you could use the aggregate::
|
||||||
|
|
||||||
>>> Store.objects.aggregate(min_price=Min('books__price'), max_price=Min('books__price'))
|
>>> Store.objects.aggregate(min_price=Min('books__price'), max_price=Min('books__price'))
|
||||||
|
|
||||||
Join chains can be as deep as you required. For example, to extract the
|
Join chains can be as deep as you require. For example, to extract the
|
||||||
age of the youngest author of any book available for sale, you could
|
age of the youngest author of any book available for sale, you could
|
||||||
issue the query::
|
issue the query::
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue