node.js 查询数据库,每个关卡取三个排行

  db.find({
    "table":"HeiKengTable",
    "limit":3,
    "order":"updatedAt",
    "keys":"playerName,level_HK, timeSdeltaTime_HK,updatedAt, weight_HK", 
    "where":{"createdAt":{"$lt":{"__type":"Date","iso":currentdate},"$gte":{"__type":"Date","iso":currentdat}},"level_HK":1
    },
  }

【"level_HK":1】取3个 【"level_HK":2】取三个
请问这样应该怎么查询呢?谢谢

阅读 1.7k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题