Skip to content

Commit

Permalink
New translations graphql-api.mdx (Chinese Simplified)
Browse files Browse the repository at this point in the history
  • Loading branch information
benface committed Dec 16, 2024
1 parent af48472 commit ab22a32
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions website/pages/zh/querying/graphql-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ The following example filters for challenges with `outcome` `succeeded` and `num
```

> **语法糖:**您可以通过传递一个用逗号分隔的子表达式来删除`and`运算符,从而简化上述查询。
>
>
> ```graphql
> {
> challenges(where: { number_gte: 100, outcome: "succeeded" }) {
Expand Down Expand Up @@ -335,12 +335,12 @@ The result of such a query will not change over time, i.e., querying at a certai

全文搜索运算符:

| 符号 | 运算符 | 描述 |
| ------ | ----------- | ---------------------------------------------------------------------- |
| `&` | `And` | 用于将多个搜索词组合到包含所有提供词条的实体的过滤器中 |
| | | `Or` | 由 or 运算符分隔的多个搜索词的查询,将返回与任何提供的词匹配的所有实体 |
| `<->` | `Follow by` | 指定两个单词之间的距离。 |
| `:*` | `Prefix` | 使用前缀搜索词查找前缀匹配的单词(需要 2 个字符) |
| 符号 | 运算符 | 描述 |
| ----------- | ----------- | ------------------------------------- |
| `&` | `And` | 用于将多个搜索词组合到包含所有提供词条的实体的过滤器中 |
| &#x7c; | `Or` | 由 or 运算符分隔的多个搜索词的查询,将返回与任何提供的词匹配的所有实体 |
| `<->` | `Follow by` | 指定两个单词之间的距离。 |
| `:*` | `Prefix` | 使用前缀搜索词查找前缀匹配的单词(需要 2 个字符) |

#### 例子

Expand Down

0 comments on commit ab22a32

Please sign in to comment.