Skip to content

Commit

Permalink
docs: synced via GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nop-cao committed Jun 16, 2024
1 parent f7bd14f commit 09847bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/dev-guide/graphql/qa-about-graphql.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ query{

## 四. 利用Fragment语法简化字段选择

GraphQL内置了所谓的Fragment概念,它本质上时一种可重用的字段集,可以在多个查询中被引用。我们可以给每个类型都定义一个`F_defaults`片段,它包含所有缺省返回字段(在Nop平台中对应于非lazy加载的字段)。
GraphQL内置了所谓的Fragment概念,它本质上是一种可重用的字段集,可以在多个查询中被引用。我们可以给每个类型都定义一个`F_defaults`片段,它包含所有缺省返回字段(在Nop平台中对应于非lazy加载的字段)。

```graphql
fragment F_defaults on Book {
Expand Down
1 change: 1 addition & 0 deletions src/theory/mathematics-in-orm.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@
a.b.c = a join b + b join c
```

Resolver(A) = Resolver(B) + Resolver(C)。如果是Tree结构分析,则对应于GraphQL

0 comments on commit 09847bb

Please sign in to comment.