Rock wrote:
> Finally, I agree that the name get_aggregate(s) kinda sux but I still
> haven't come up with anything better.

Sending to list this time, sorry Rock...

Throwing these into the mix:

Inventory.objects.aggregate(['AVG','MIN','MAX'],'quantity')
Inventory.objects.calculate(['AVG','MIN','MAX'],'quantity')

Of course, you would then allow singular and iterable for the aggregate
functions.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to