Skip to content

Commit

Permalink
hotfix(docs): fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
adcentury committed Jul 6, 2023
1 parent e5ccd25 commit 54ae301
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/en/src/guide/database/find.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ When multiple conditions are passed into the `where` method, the relationship be
```js
// f1 && f2
Table.where(f1, f2);
Table.wehre(f1).and(f2);
Table.where(f1).and(f2);
```

### OR {#logical-or}
Expand Down
6 changes: 3 additions & 3 deletions docs/en/src/reference/server/functions-runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ Full list:

| variable name | description | example |
| ---- | ---- | ---- |
| AC_APP_ID | ID of the current application | `'vykqtr'` |
| AC_REGION | Deployment region of the application | `'JP'` |
| AC_NODE_JS_VERSION | Node.js version at runtime | `'16.17.0'` |
| AC_APP_ID | ID of the current application | `vykqtr` |
| AC_REGION | Deployment region of the application | `JP` |
| AC_NODE_JS_VERSION | Node.js version at runtime | `16.17.0` |
| AC_EXECUTION_TIMEOUT | Function execution timeout, in seconds | `30` |
| AC_MEMORY_SIZE | Instance memory size in MB | `512` |
| AC_DEPLOYMENT_VERSION | Current deployment version number | `2` |
Expand Down
2 changes: 1 addition & 1 deletion docs/zh-cn/src/guide/database/find.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ AirCode 支持「与」、「或」、「或非」三种逻辑关系,也可以
```js
// f1 && f2
Table.where(f1, f2);
Table.wehre(f1).and(f2);
Table.where(f1).and(f2);
```

### 「或」关系 {#logical-or}
Expand Down
6 changes: 3 additions & 3 deletions docs/zh-cn/src/reference/server/functions-runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ process.env.AC_NODE_JS_VERSION

| 变量名称 | 说明 | 示例 |
| ---- | ---- | ---- |
| AC_APP_ID | 当前应用的 ID | `'vykqtr'` |
| AC_REGION | 应用的部署区域 | `'JP'` |
| AC_NODE_JS_VERSION | 运行时的 Node.js 版本 | `'16.17.0'` |
| AC_APP_ID | 当前应用的 ID | `vykqtr` |
| AC_REGION | 应用的部署区域 | `JP` |
| AC_NODE_JS_VERSION | 运行时的 Node.js 版本 | `16.17.0` |
| AC_EXECUTION_TIMEOUT | 函数运行超时时间,单位为秒 | `30` |
| AC_MEMORY_SIZE | 实例内存大小,单位为 MB | `512` |
| AC_DEPLOYMENT_VERSION | 当前部署的版本号 | `2` |
Expand Down

0 comments on commit 54ae301

Please sign in to comment.