Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(prices): new querysets to calculate min, max & average #452

Merged
merged 3 commits into from
Sep 15, 2024

Conversation

raphodn
Copy link
Member

@raphodn raphodn commented Sep 15, 2024

What

First step to build stats : simple querysets on the Price model

  • exclude_discounted
  • calculate_min
  • calculate_max
  • calculate_avg
  • calculate_stats (count, min, max, avg)

@raphodn raphodn merged commit ab9ed15 into main Sep 15, 2024
8 checks passed
@raphodn raphodn deleted the raphodn/price-queryset-stats branch September 15, 2024 22:24
@raphodn raphodn linked an issue Sep 15, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Product stats endpoint
1 participant