martsberger / django-pivot

A module for pivoting Django Querysets
MIT License
209 stars 16 forks source link

Total column #30

Closed martsberger closed 11 months ago

martsberger commented 11 months ago

Add an optional parameter to pivot to include an additional column containing the Total of the aggregation

codecov-commenter commented 11 months ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (bd14f7e) 99.21% compared to head (54c6324) 99.23%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #30 +/- ## ========================================== + Coverage 99.21% 99.23% +0.01% ========================================== Files 4 4 Lines 128 131 +3 ========================================== + Hits 127 130 +3 Misses 1 1 ``` | [Files](https://app.codecov.io/gh/martsberger/django-pivot/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=B+Martsberger) | Coverage Δ | | |---|---|---| | [django\_pivot/pivot.py](https://app.codecov.io/gh/martsberger/django-pivot/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=B+Martsberger#diff-ZGphbmdvX3Bpdm90L3Bpdm90LnB5) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.