Skip to content

Commit

Permalink
chore(doc): update pagination.md
Browse files Browse the repository at this point in the history
  • Loading branch information
GiantappMan committed Mar 7, 2024
1 parent fbfa762 commit c0ba9ea
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/zh/cloud-database/query/pagination.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ export default async function (ctx: FunctionContext) {
list: docs,
total,
pageSize,
pageIndex,
total
pageIndex
}
}
```
Expand All @@ -66,4 +65,4 @@ export default async function (ctx: FunctionContext) {
- [limit() 完整说明](https://www.mongodb.com/docs/manual/reference/method/cursor.limit/)
- [API: skip()](https://mongodb.github.io/node-mongodb-native/5.0/classes/FindCursor.html#skip)
- [API: limit()](https://mongodb.github.io/node-mongodb-native/5.0/classes/FindCursor.html#limit)
:::
:::

0 comments on commit c0ba9ea

Please sign in to comment.