我试图聚合firstValue减去secondValue大于2的文档
示例文件:
[
{
"firstValue": 6,
"secondValue": 3
},
{
"firstValue": 6,
"secondValue": 5
},
{
"firstValue": 6,
"secondValue": 7
}
]
查询应该只返回第一个元素(6-3 = 3,3>2)
https://stackoverflow.com/questions/70495325
复制相似问题