Avoid N+1 queries when fetching author name
For audit event view, we need to fetch author and the associated name, and this results in unnecessary extra SQL calls. This change introduces `BatchLoader` to lazily load associated authors and speeds up audit events queries via both web application and API.
Showing
Please register or sign in to comment