跳到主要内容

aggregate

在集合上执行聚合操作

声明

array aggregate(int coll_handle, array pipeline_data, map opts = {})

参数

参数名描述
coll_handle集合句柄
pipeline_data一组聚合操作
opts操作选项

返回值

[ 操作错误信息, 聚合操作结果 ]

使用方式

返回文档