Only Load What’s Needed

less than 1 minute read

Implement different database queries in different contexts. In the API and on a webpage, you’ll inevitably require different entity properties, so don’t load things you don’t need just because it’s convenient to reuse a query.

Leave a Comment

Your email address will not be published. Required fields are marked *

Loading...