提交 0a894d27 编写于 作者: 雪洛's avatar 雪洛

docs: uniCloud db aggregate count

上级 f58e8158
......@@ -12336,9 +12336,12 @@ let res = await db.collection('items').aggregate()
.end()
```
返回结果如下:
```js
{
"expensiveCount": 3
```js
// res =
{
"data": [{
"expensiveCount": 3
}]
}
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册