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

docs: uniCloud db

上级 f1ce5744
......@@ -2292,7 +2292,7 @@ E 序列是以 10 的 6 / 12 / 24 / 48 / 96 / 192 次方跟来推导的、带有
```js
const $ = db.command.aggregate
let res = await db.collection('items').aggregate()
.bucket({
.bucketAuto({
groupBy: '$price',
buckets: 3,
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册