Tag

Nestjs

A collection of 2 posts

NestJS TypeORM
Nestjs

Nestjs Typeorm Graphql Dataloader Tutorial With Typescript

Quick answer. A GraphQL query that resolves N parents, each with a child relation, triggers N+1 SQL queries. DataLoader batches them into one round-trip per request via a per-request cache. This tutorial wires NestJS, TypeORM, and DataLoader together in TypeScript so a single GraphQL call hits the database once,

· 16 min read