class Sum(expression, output_field=None, **extra)
[source]
Computes the sum of all values of the given expression.
- Default alias:
<field>__sum
- Return type: same as input field, or
output_field
if supplied
class Sum(expression, output_field=None, **extra)
[source]
Computes the sum of all values of the given expression.
<field>__sum
output_field
if supplied
Please login to continue.