Flask - Performance Optimization
You have a Flask app with a
User model and a related Post model. You want to display all users with their posts efficiently. Which approach best balances performance and resource use?