Skip to content

Commit

Permalink
Fixed #10042 -- YAADT (Aggregation Docs Typo).
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9755 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
freakboy3742 committed Jan 16, 2009
1 parent b3dd0b5 commit f9f9d70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/db/aggregation.txt
Expand Up @@ -165,7 +165,7 @@ The same rules apply to the ``aggregate()`` clause. If you wanted to
know the lowest and highest price of any book that is available for sale know the lowest and highest price of any book that is available for sale
in a store, you could use the aggregate:: 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=Max('books__price'))


Join chains can be as deep as you require. 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
Expand Down

0 comments on commit f9f9d70

Please sign in to comment.