界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

syn-graphql-dataloader

syn-graphql-dataloader

【数据与研究】Operate, configure, troubleshoot, and manage GraphQL. Use for GraphQL engineering tasks, day-to-day operations, and production support.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: syn-graphql-dataloader description: Operate, configure, troubleshoot, and manage GraphQL. Use for GraphQL engineering tasks, day-to-day operations, and production support.

GraphQL: the N+1 problem and batching

When to use

Use this skill for the N+1 problem and batching in GraphQL. This skill specifically handles the N+1 problem and batching and nothing else in the GraphQL family.

Procedure

Introduce DataLoader to batch and cache per-request field fetches and eliminate N+1 database round-trips.

Notes

This is the GraphQL skill dedicated to the N+1 problem and batching. Sibling skills cover other GraphQL capabilities; this one is the right choice only when the task is about the N+1 problem and batching.

我的收藏