django-advance-features-8

Last Updated :
Discuss
Comments

Suppose you want, for each customer, the number of orders placed by them. Which Django ORM method best fits this scenario?

aggregate()

get()

delete()

annotate()

Tags:
Share your thoughts in the comments