开发者工具的数据库高级操作无法使用aggregate?
发布于 6 年前 作者 guchao 4838 次浏览 来自 官方Issues

版本 1.02.1907160

在数据库 - 高级操作 - 使用aggregate报错

const $ = db.command.aggregate

db.collection(‘test’)

.aggregate()

.group({

_id: ‘$uuid’,

num: $.sum(1)

})

.end()

点执行后,报 “ RuntimeError: can not get property ‘aggregate’ (at line 1, col 21)

1 回复

感谢反馈,我们后续会支持上

回到顶部