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
This question is part of this quiz :
Python | Django | Advanced Features