supergravity

Django aggregation 정리 본문

개발중 기억해야 할만한 것들

Django aggregation 정리

supergravity 2021. 3. 2. 07:49

docs.djangoproject.com/en/3.1/topics/db/aggregation/

 

 

 

The topic guide on Django’s database-abstraction API described the way that you can use Django queries that create, retrieve, update and delete individual objects. However, sometimes you will need to retrieve values that are derived by summarizing or aggregating a collection of objects. This topic guide describes the ways that aggregate values can be generated and returned using Django queries.

Throughout this guide, we’ll refer to the following models. These models are used to track the inventory for a series of online bookstores:

Comments