Users.find({paw:6868}).exec() //返回的结果为空

Users.find({paw:"6868"}).exec() //返回的结果也为空

Users.find({paw:'111'}).exec() // 成功返回数据

Users.find({paw:111}).exec() // 成功返回数据

mogoose的bug之不能根据类型为number的字段查找数据

相关文章:

  • 2021-10-27
  • 2022-01-14
  • 2021-09-24
  • 2021-11-02
  • 2021-12-10
  • 2022-02-04
  • 2021-10-31
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-16
  • 2021-08-30
  • 2021-05-22
  • 2022-12-23
相关资源
相似解决方案