云开发 无法查询满足字段值为空的列
-
当前 Bug 的表现(可附上截图)
-
预期表现
-
复现路径
-
提供一个最简复现 Demo
如下代码 数据库无 bindEndTime 字段为空 无法查询出结果
user.where({
_openid: wxContext.OPENID,
bindEndTime: _.lt(db.serverDate()).or(_.eq(undefined)) //排除已经存在绑定关系,且在绑定时效内
})
当前 Bug 的表现(可附上截图)
预期表现
复现路径
提供一个最简复现 Demo
如下代码 数据库无 bindEndTime 字段为空 无法查询出结果
user.where({
_openid: wxContext.OPENID,
bindEndTime: _.lt(db.serverDate()).or(_.eq(undefined)) //排除已经存在绑定关系,且在绑定时效内
})