Alex Gaynor 11/27/2008

What aggregates are going to look like

Read Original

This technical article details the new aggregate query syntax introduced in Django 1.1. It explains the two new QuerySet methods, `aggregate()` for basic calculations (MAX, MIN, AVG, COUNT, SUM) and `annotate()` for aggregating related model data, providing clear code examples for each use case.

What aggregates are going to look like

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week