Coding task · NestJS course · Module 8: Caching and Performance
Optimize database queries in the legions service.
Add indexes and use select() instead of fetching all columns