polls
polls copied to clipboard
perf: Determine participant status more efficiently
This makes one of the N+1 queries of https://github.com/nextcloud/polls/issues/3362 more efficient.
Before: load all votes of the poll, create entity objects and then do a count After: count in the database