为什么aggregate group里面cond用不了?
发布于 5 年前 作者 yan16 2422 次浏览 来自 官方Issues
 

      })
      .sort({
        _id: -1,
      })
      .end()
      .then(res => {
        // console.log(res)
        _this.setData({
          records: res.list,
        })
      })
      .catch(err => {
        console.log(err)
      })

1 回复

基础库是 2.7.4 以上吗?试试在云函数中调用呢

回到顶部