[微信小程序]云数据库 查询 and不起作用 [需要查询什么呢?想问问看今天的天气]

云数据库and查询不管用,如下:

....

    condition.a = _.gt(range[0]).and(_.lt(range[1]))

      condition.b = _.gt(range[2]).and(_.lt(range[3]))
    }
    goodsCol.where(condition)
    .limit(count).get()

    .then(res =>{

....

会报错:

Uncaught (in promise) Error: errCode: -502001 database request fail | errMsg: Get Data Count Fail:(BadValue) failed on: cmgo-cn5bknzd_0 :: caused by :: $or/$and/$nor entries need to be full objects

求助!