From 09847bb70cb995bb82faf868f25fe1e744326eaa Mon Sep 17 00:00:00 2001 From: Nop Assistant Date: Sun, 16 Jun 2024 10:13:19 +0000 Subject: [PATCH] docs: synced via GitHub Actions --- src/dev-guide/graphql/qa-about-graphql.md | 2 +- src/theory/mathematics-in-orm.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dev-guide/graphql/qa-about-graphql.md b/src/dev-guide/graphql/qa-about-graphql.md index 6f06360..2921659 100644 --- a/src/dev-guide/graphql/qa-about-graphql.md +++ b/src/dev-guide/graphql/qa-about-graphql.md @@ -144,7 +144,7 @@ query{ ## 四. 利用Fragment语法简化字段选择 -GraphQL内置了所谓的Fragment概念,它本质上时一种可重用的字段集,可以在多个查询中被引用。我们可以给每个类型都定义一个`F_defaults`片段,它包含所有缺省返回字段(在Nop平台中对应于非lazy加载的字段)。 +GraphQL内置了所谓的Fragment概念,它本质上是一种可重用的字段集,可以在多个查询中被引用。我们可以给每个类型都定义一个`F_defaults`片段,它包含所有缺省返回字段(在Nop平台中对应于非lazy加载的字段)。 ```graphql fragment F_defaults on Book { diff --git a/src/theory/mathematics-in-orm.md b/src/theory/mathematics-in-orm.md index 26bc4c9..e497269 100644 --- a/src/theory/mathematics-in-orm.md +++ b/src/theory/mathematics-in-orm.md @@ -29,3 +29,4 @@ a.b.c = a join b + b join c ``` +Resolver(A) = Resolver(B) + Resolver(C)。如果是Tree结构分析,则对应于GraphQL