You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#1006 implemented changes described in #1004 by making a separate DB query getting values of can_request_help and then one DB query for each row with can_request_help to determine if the group name can be shown to the user. So, "N+1 selects problem".
We need to rework it.
Ideas:
We could use JSON_ARRAYAGG to get values of can_request_help:
#1006 implemented changes described in #1004 by making a separate DB query getting values of can_request_help and then one DB query for each row with can_request_help to determine if the group name can be shown to the user. So, "N+1 selects problem".
We need to rework it.
Ideas:
We could make just one query for all the groups at once to figure out if a group is visible or not.
Probably we could even get all the info in just one query (a problem marked with a start 😉)
The text was updated successfully, but these errors were encountered: