News for hackers. Stuff that matters.
Re:From Node to Ruby on Rails by crucialfelix on Saturday December 18, 2021 @02:14PM (#29607569)
Sure, I always have to spend time checking logs and tuning the queries like that. By default, Django selects everything. I used to discover that joins and prefetches were hauling in large text fields when I only wanted an id or a slug.

Prisma has a great API for this, and it's easy to tune. By default is prefetches and selects related even several levels of joins deep.

There are no comments on this comment yet.