提交 65a65a17 编写于 作者: 雪洛's avatar 雪洛

docs: uniCloud database

上级 59eef893
......@@ -5886,7 +5886,7 @@ let res = await db.collection('scores').aggregate()
```js
db.command.aggregate.arrayElemAt([<array>, <index>])
```
`<array>` 可以是任意解析为数的表达式。
`<array>` 可以是任意解析为数的表达式。
`<index>` 可以是任意解析为整形的表达式。如果是正数,`arrayElemAt` 返回在 `index` 位置的元素,如果是负数,`arrayElemAt` 返回从数组尾部算起的 `index` 位置的元素。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册