收藏
回答

微信小程序云开发where怎么用一个字段查询多个值?

微信小程序云开发where怎么用一个字段查询多个值?

回答关注问题邀请回答
收藏

3 个回答

  • 三宝
    三宝
    07-20
    //==or 或逻辑
    
    //同一个字段的或逻辑
    
    coll.where({
    
      //progress<50或progress>100,链式写法
    
      progress: _.lt(50).or(_.gt(100))
    
    })
    
    coll.where({
    
      //progress<50或progress>100,参数写法
    
      progress: _.or(_.lt(50),_.gt(100))
    
    })
    
    07-20
    有用
    回复
  • showms
    showms
    07-15

    具体什么需求

    07-15
    有用
    回复
  • Mr.Zhao
    Mr.Zhao
    07-14

    不支持

    07-14
    有用
    回复
登录 后发表内容