aggregate 中 in发布于 7 年前作者 zliao14422 次浏览最后编辑 7 年前来自 askhttps://developers.weixin.qq.com/miniprogram/dev/wxcloud/reference-sdk-api/database/command/aggregate/AggregateCommand.in.html 判断字符串是否在数组内,当集合内没有这个数组属性的时候报错,而不是返回false。 有点不方便取结果。