收藏
回答

command.exists(true)无效

框架类型 问题类型 终端类型 AppID 环境ID 基础库版本
小程序 Bug 工具 wxf563f5a83d35c441 wenjuantong-1giw4u0rc5a1fc87 3.5.4
https://developers.weixin.qq.com/miniprogram/dev/wxcloudservice/wxcloud/reference-sdk-api/database/command/Command.exists.html
const fieldName='a40fc074679364630524c9ba4d93f51b'
      const res=await db.collection('admin').where({
        [fieldName]:_.exists(true)
      }).get()
      console.log(res)
回答关注问题邀请回答
收藏
登录 后发表内容
问题标签