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

Upgrade attendace stats to database rpc #95

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Lyanthropos
Copy link
Member

Added a new RPC aggregate_attendance_stats to the database that executes count and group by operations to generate the all count, regular count, and last few stats for the admin attendance page.

@Lyanthropos Lyanthropos added bug Something isn't working enhancement New feature or request labels Feb 22, 2023
@Lyanthropos Lyanthropos self-assigned this Feb 22, 2023
@Lyanthropos
Copy link
Member Author

Good to go @veggie2u

Copy link
Member

@veggie2u veggie2u left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget to add this function to production before we merge this to main.

src/api/attendance.ts Show resolved Hide resolved
src/api/attendance.ts Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants