Skip to content

Glossary: GraphQL APIs

DataLoader

Also written: dataloader, loader, loaders

A small library from the GraphQL team that collects separate `load(key)` calls and answers them with one batch function, and caches each key's answer. kc-graph uses it to fix the N+1 problem for products.

Where the book teaches it

Related terms

N+1 problemBatchingBatch function