Skip to content

Commit

Permalink
Merge pull request #15911 from binggchen/master-5
Browse files Browse the repository at this point in the history
Update 数据模型方法V2.md
  • Loading branch information
v-zuofanye authored Aug 21, 2023
2 parents 902ab66 + 3d2e788 commit 63ddf97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ export default async function ({event, data}) {
| `filter` | `{ where: FilterObject}]` ||| 复杂查询结构 |
| `select` | `{ [key: string]: boolean }` || `{ $master: true }` || 可以指定返回本表或者关联表的字段,如果想查询本表所有字段,请使用 `{ $master: true }` |
| getCount | `boolean` | `false` || 获取 filter 命中条件的查询条数 |
| pageSize | `number` | `undefined` || 分页大小,建议指定 |
| pageSize | `number` | 10 || 分页大小,建议指定,如需设置为其它值,需要和pageNo配合使用,两者同时指定才会生效 |
| pageNumber | `number` | 1 || 分页数目 |
| orderBy | `{[key: string]: "acs" | "desc" }[]` ||| 排序,当前仅支持最多 3 字段排序 |

Expand Down

0 comments on commit 63ddf97

Please sign in to comment.