graphql-python / graphql-python/graphene-sqlalchemy

N + 1 round trip problem

未關閉
#35 25 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
985
分支
223
PR 合併指標
30 天內沒有已合併 PR

描述

Does this library handle nested models (joins) in a single query from the server to the DB?
For example

```
user {
id
posts {
id
}
}
```

貢獻指南

開啟貢獻指南

研究方向

The issue names no files, tests, or entry points. Start by tracing how nested GraphQL fields are resolved into SQLAlchemy queries, then confirm the expected query count and behavior for the User and posts example. Done means the intended N+1 behavior is clearly specified and verified, or the requested support is implemented with coverage.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
graphql, python, sqlalchemy
領域
api, backend, databases
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。