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

Proper handling of different statistic types when quering #14

Open
ashhhleyyy opened this issue Nov 17, 2021 · 0 comments
Open

Proper handling of different statistic types when quering #14

ashhhleyyy opened this issue Nov 17, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@ashhhleyyy
Copy link
Member

Player statistics endpoints should return based on the type of value, as currently they always just return the sum of all values, which is not useful for values such as shortest time. The type column of the player_statistics and game_statistics tables stores how the value should be formatted, it just needs to be handled properly, either in SQL or in the rust code

@ashhhleyyy ashhhleyyy added the enhancement New feature or request label Jan 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant