django-advance-features-3

Last Updated :
Discuss
Comments

In Django’s ORM what does the function aggregate() do on a queryset?

Adds a new field to every object

Deletes duplicate records

Filters the queryset based on conditions

Returns a summary result (like sum, count, average) over the entire queryset

Tags:
Share your thoughts in the comments