收藏
回答

是不是想要从云数据库中查询到超过20条记录就只能使用云函数?

onLoad: function (options{
    var _this = this;
    const db = wx.cloud.database();  
    db.collection('order').get({
      successres => {
        console.log(res.data) 
        this.setData({
          noticeList: res.data
        })
      },
      fail:err=>{
        console.log(err)
      }
    })
  },
是不是上面这样写就没办法查询到超过20条记录?
回答关注问题邀请回答
收藏

4 个回答

登录 后发表内容
问题标签