db.command.gt(event.cdje)中 event.cdje可为变量吗?

发布于 7 年前作者 xuejie13032 次浏览最后编辑 7 年前来自 ask

 try { return await db.collection('shujuku2')

   .where({

   mymembermony:db.command.gt(event.cdje),_openid:wxContext.OPENID

      }.update({

           


1 回复
dhan
dhan1 楼5 年前

问题已解决 mymembermony:db.command.gt(Number(event.cdje))